routing

  1. del

    Solved Router(s) not forwarding packets to default gateway(s)

    I have a FreeBSD router that doesn't seem to be forwarding packets to its default gateway, and I can't see why that might be. Here's a diagram of the network: I would like to get traffic from client -> router1 -> gateway -> internet. client is able to ping router1, and router1 is able to ping...
  2. del

    Solved Building a networking lab with FreeBSD 13 in VirtualBox; virtual LAN unable to ping 8.8.8.8

    I'm trying to build a multi-router setup in VirtualBox using FreeBSD machines as the routers. I have two VMs, router-1 and router-2, which are on the same subnet and are able to ping one another. router-1 has a bridge interface with the host machine and is able to ping the wider internet. It...
  3. I

    jails How to configure routing for jail?

    I'm having some problem setting routing inside a jail. I added to rc.conf (inside jail) and it did not work. I then tried "route add 172.16.0.1" and it responded "route: writing to routing socket: Operation not permitted" I think it is not possible to set routing from inside. So, how do I...
  4. RevennaFox

    Advice for Creating a "Command and Control" Server?

    I have a problem that I think FreeBSD can solve for me. I have routers at various off-site locations that I need to be able to log into via SSH for monitoring, configuration, and maintenance. The problem is that none of the routers have static IP addresses, some of them are behind carrier NAT...
  5. K

    Using VLANS to connect VNET jails to WAN?

    I know I've started a few threads here about odd networking experiments that I am running in VNET jails. Still haven't figured anything out about those when using epair(4) interfaces. So I thought I'd try a different strategy using VLAN interfaces instead. And this time, include a (janky)...
  6. K

    Solved Multiple connections to same subnet for different functions

    I am trying out an idea I had for my FreeBSD-12.2-based router, which has six GbE ports (em0 to em5), to tweak how things work on the network. For the last year or two, I had things setup the traditional way where em0 was the WAN and em1 was the LAN, and a firewall governed what moved between...
  7. A

    Solved Static IPv6 for local network

    Hi, I have a box acting as a gateway for my lan at home. It connects through PPPoE (tun0) to the provider and gets the configuration for the outside world (I'm using net/dhcpcd). The clients (on the lan) are served by rtadvd and net/dhcpd. I have a 192.168.1.0/24 network for LAN and also want...
  8. willbprog127

    Solved Need help migrating Linux routing commands to FreeBSD

    Greetings! On Linux, I am using a SSH tunnel between my machine and a remote machine. This is an actual tunnel, using the 'tun5' device / interface, not just port-forwarding. This allows me to contact any machine on the remote machine's network, SSH in, VNC in or whatever I need. For routing...
  9. tommiie

    Default gateway not added

    I have a Digital Ocean droplet running FreeBSD 12.1-p10 and I am experiencing slow responses to pkg commands. In order to investigate I tried disabling IPv6 (without much success) and did a service netif restart after which my droplet was unavailable. Accessing it via the console showed me that...
  10. lonniemason

    Solved Bhyve assign public /29 subnet addresses to VM's

    Hello everyone So I have a dedicated server with Hetzner running FreeBSD 12.1-RELEASE-p3 currently not running PF firewall. I have a /29 block of addresses assigned to me and I am trying to use them for Bhyve VM's but I am unsure how to go about it. I have read the following form threads...
  11. M

    I cant access to internet in OSPF routing with BIRD

    Hello I have a scenario on my network that you can see in the photo. I have two hardware with freebsd11.1 (R1 ^ R2) that enable OSPF routing with bird 1.6.3 The PC1 and PC2 are easily connected and the whole routing is established. But the first hardware (R1) has access to the Internet. How can...
  12. J

    TCP/IP Networking to different providers

    I have multiple machines on my network, using a single internet connection (my network is 192.168.1.x/24) Because of COVAD, I am working from home, but the family is still using a bulk of my internet connection causing my work VPN to slowdown. I want to add a second Internet connection (lets...
  13. erley

    Solved Routing between bridged interfaces

    Hello, I'm having strange problem with routing between bridged network interfaces. /internet/ | ae0 +---------+ +--------+ | |---wlan0 - - - - - - - - - - - - | Host2 | | Host1 | +--------+ +--------+ | |---bge0 - - - -...
  14. D

    Solved Dual VPN clients connectivity issues

    Greetings colleagues, I seem to have a curious issue (am a novice so hopefully the solution is obvious). 1. A simple home network setup with a FreeBsd 12 (release if that's important) gateway which runs a VPN and PF in a setup largely inspired by: Network Filter by Guillaume Kaddouch . In...
  15. icecoke

    strange behavior of setfib since FreeBSD 12.0

    Hi everyone! We are using jails in FreeBSD since years (9.x and up) without problems. Since then we have two network cards in the (xen virtualized) machines, where one is private (10.0.0.0/8) and one is public (here changed to 1.2.3.0/20). To have the routing done, we use setfib for the public...
  16. D

    pppoe, jails, firewalls and me

    Hey Community, I want to try something but need some advice before I start. If I open a pppoe connection on a machine which has some jails instantiated, could these (maybe compromised) jails do something nasty with that tun device? In my understanding the kernel creates the pppoe device which...
  17. L

    FreeBSD Policy Based Routing with ipfw nat + fwd using 2 or more Poor Man's ssh VPNs

    Hello, thanks to the posts that I found on this forum, I could implement a gateway in FreeBSD that allows me to do flexible policy routing through different interfaces. I'm going to share. System: FreeBSD freebsd 12.0-STABLE FreeBSD 12.0-STABLE r346132 NEWKERNEL amd64 NEWKERNEL compiled...
  18. jbodenmann

    Solved CARP Gateway - Slow internet access

    Hello folks, I have two machines (exact same hardware) that I'd like to use as a gateway/router for LAN clients to access the internet. I am using CARP for fail-over which is already working - therefore, let's refer to the two machines as "the gateway" from here on. Here's a drawing for sanity...
  19. squirtle

    Setting up a router in a jail to use openvpn client

    I know, this appears to be answered all over the place. But none of the answers are working for me so I must have misunderstood something somewhere along the way. Background: I'm trying to set up a FreeBSD jail that acts as a router. Inside that jail, I'd like to run OpenVPN. I would like all...
  20. F

    Solved Routing networks via 2 FreeBSD gateways

    Hello, I'm trying to make the following routing: fbsd3 fbsd1 fbsd2 fbsd4 172.16.2.73 ------- 172.16.2.71 172.16.3.72 ------- 172.16.3.74 172.16.1.71 ------- 172.16.1.72 The problem is that 172.16.3.74 (fbsd4) can't connect...
Top