Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

OpenVPN: can't reach client network from server

I have two servers, beta and alpha; beta is an OpenVPN server. Both runs FreeBSD. Both runs jails. OpenVPN network is 192.168.25.0/24. Beta's network for jails is 192.168.24.0/24. Alpha's one is 192....
Alex Povolotsky's user avatar
3 votes
2 answers
3k views

OPNsense WAN failover causes disruption when non-active WAN is down

I have the latest version of OPNsense set up in a VM on ESXi 7. OPNsense is very similar to pfSense, and I suspect the solution would apply to both. All the NICs are PCI passthrough devices: A ...
user3466413's user avatar
1 vote
2 answers
6k views

Offloading PPPoE from an OPNsense router

I'm running opnSense, a FreeBSD-based firewall and router similar to pfSense, in a virtual machine under VMware ESXi 7 on a Dell PowerEdge R230, as a router for my home network. No other VMs are ...
user3466413's user avatar
3 votes
1 answer
4k views

How to configure FreeNAS for a WireGuard VPN?

I have a FreeNAS 11.3 system and followed iXsystems' instructions on setting up WireGuard. With a simple wg0.conf I'm now able to connect successfully. I'd like to be able to use this setup as a ...
Adam's user avatar
  • 635
3 votes
1 answer
779 views

FreeBSD jail routing issue

I have the following setup with FreeBSD jails and VNET which is supposed to grow into a DNS core net lab setup. The jailhost and the jails are running FreeBSD 12.1. The jails are connected by epair ...
boisjacques's user avatar
1 vote
1 answer
965 views

LACP and VLAN routing correct network setup

I am trying to understand the correct way to do LCAP with a VLAN and have all the routing be correct. Hardware OS:FreeNAS-11.2-U7 Server:(2) Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz 128GB ...
laxer's user avatar
  • 121
1 vote
0 answers
75 views

VMWare-hosted FreeBSD 12 server DHCP resets, won't route again without running /etc/rc.d/routing restart

My cloud host provider has an issue where DHCP keeps being reset. They say they're working on it. It results in a short network blip. I have the same problem if I reset DHCP myself using the command /...
Bolwerk's user avatar
  • 201
1 vote
1 answer
1k views

Forward traffic on same interface

I am operating a server hosting a set of services, each run in a separate Docker container. In addition, there is a KVM running pfSense acting as firewall. The firewall has a physical interface that ...
Lars's user avatar
  • 11
1 vote
1 answer
3k views

Routing troubles on secondary FIB/routing table on FreeBSD

I have a need for a secondary routing table on this machine. I've got everything mostly set up, but I'm having an issue getting the default route working on the secondary fib. In most information I ...
Brett Gmoser's user avatar
-1 votes
2 answers
803 views

pfSense networking/routing troubleshooting

I have set up a pfSense virtual machine with two networks adaptators : WAN : 192.168.0.27/24 that is connected to an other router 192.168.0.1 to get internet access LAN : 172.16.0.1/16 that is ...
KaAzZ's user avatar
  • 33
1 vote
1 answer
131 views

How can destination addresses 132.148.77.28 and 132.148.77.28/32 be use different network interfaces for routing?

The output of netstat -rn on my FreeBSD virtual machine shows that: Internet: Destination Gateway Flags Netif Expire default 10.195.51.254 UGS vtnet0 10....
papiro's user avatar
  • 159
0 votes
1 answer
3k views

Tinc on OPNsense

Having this kind of network layout https://i.sstatic.net/NQXDl.jpg I can get it working using mode=switch in with tinc, but not using mode=routed Those are the network details On quantum those are ...
Eugen Mayer's user avatar
0 votes
1 answer
175 views

Freebsd 10 install with non standard gateway route

Some service providers offer dedicated/vps nodes with non standard gateways (ie not in the same subnet). For instance : ip add 10.0.1.1/32 with gateway 56.0.1.1 For this purpose some manual steps ...
Horatiu's user avatar
  • 41
7 votes
0 answers
1k views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
Monstieur's user avatar
  • 556
0 votes
1 answer
123 views

Redirecting Public IPs to jails

My plan is to set up a server where I have several jails. Currently, I am planning on running three of them: a webserver, an owncloud server and a Teamspeak 3 server. I got it running so far that I ...
hombrus's user avatar
4 votes
6 answers
4k views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
Ecco's user avatar
  • 121
0 votes
0 answers
684 views

FreeBSD routing for multiple subnets

I have to access a network 10.1.0.0/16 through a gateway 10.4.0.2. I issue the command: route add -net 10.1.0.0/16 10.4.0.2 The machine's IP address where I doing this is 10.4.0.22 and it's default ...
Efflorescen's user avatar
4 votes
1 answer
1k views

routing table vs PF precendence

I am wondering when a packet reaches an interface and I have some PF rules, which gets checked first, the routing table or the ruleset? ext_if = "em0" int_if = "em1" localnet = $int_if:network ...
nawar's user avatar
  • 63
1 vote
3 answers
13k views

FreeBSD static routing set gateway to link

I am running FreeBSD 8.1 and configuring static routes. What is the route command to set the gateway to link#1 and not an IP address? I tried route add default link#1 but FreeBSD doesn't take it. ...
T. Webster's user avatar
4 votes
1 answer
392 views

Multi homed firewall with ipnat

i am trying (without success) to configure a ipnat/ipf box under FreeBSD 8.2, here is the scenario: outside inside +----+ ADSL 1.2.3.0/...
user160205's user avatar
5 votes
1 answer
4k views

Router advertisement for ipv6 is advertising link-local adress

I have the following situation: I configured a FreeBSD 9.1 machine as the endpoint of a heartbeat SixXS tunnel on a gif0 interface. It works so far, and I can ping6 via IPv6. I assigned to another ...
GorillaPatch's user avatar
1 vote
2 answers
12k views

WAN and LAN setup for IPv6

We just got a IPv6 /48 range (a gateway and an IP address) for our company, but I'm unsure about how to set it up. We use FreeBSD 8.4 (pfSense 2.1) as a router/firewall. Currently we have IPv4 setup ...
neu242's user avatar
  • 724
1 vote
2 answers
2k views

Route ssh traffic based on hostname using FreeBSD/pf?

I have a proxy/firewall machine running FreeBSD 9, using PF to route and filter traffic as needed. Now I'm setting up a git server, which runs over ssh, but I'm already using port 22 for ssh. I would ...
kbanman's user avatar
  • 209
3 votes
3 answers
4k views

How do I get internal hosts to use a VPN connection set up on a FreeBSD router?

Question in short: How do I get traffic from a host on an internal network, using NAT behind a router, to use a VPN connection set up on the router? I have a FreeBSD 9 router with 4 network ...
Erik Tjernlund's user avatar
5 votes
1 answer
4k views

"route add default -iface em1" in rc.conf on FreeBSD

I have two NICs on my FreeBSD server, which are set up like this in rc.conf: ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC ifconfig_em1="DHCP" #...
poplitea's user avatar
  • 467
3 votes
1 answer
6k views

Using two network interfaces for FreeBSD VM

How do I turn on/off one network interface without affecting the other in FreeBSD? I have a FreeBSD 8.2 virtual machine (Virtual Box 4.1.4), with two network interfaces, one bridged to my Ethernet ...
tony19's user avatar
  • 189
1 vote
1 answer
2k views

FreeBSD (pfSense) Routing - Can't find the default route

I have been banging my head against the wall on this for a couple of days now - thought I had tried everything, but obviously not... I have the following networking scenario... ISPs Router Edge (21....
KennetRunner's user avatar
0 votes
2 answers
2k views

Openvpn, FreeBSD, Linux and routing

There is a network in the office. There are a router powered by FreeBSD in the network and a server powered by CentOS outside. Task: provide an access from anywhere to the network in the office. ...
OutPunk's user avatar
5 votes
3 answers
10k views

Why does ifconfig reset the default gateway route?

In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature? As fas as I remember Linux ...
Eugene Yarmash's user avatar
3 votes
2 answers
496 views

IP Forwarding and traffic shaping

Is there any way to forward packets from network A to network B (just like a router) without changing source IP Address (and vice versa, from network B to network A) and also enforcing traffic shaping ...
Isaac's user avatar
  • 571
2 votes
2 answers
7k views

FreeBSD load splitting and failover with 2 WANs (dynamic routing)

I have a freebsd server (ipfw, dhcp, dns) with one LAN interface and 2 WAN interfaces (2 different ADSL lines). The WAN interfaces (re0 and re1) are aggregated into one lagg0 failover (ifconfig_lagg0=...
Massimiliano Torromeo's user avatar