Gateway require a point to point route
-
Hi, her is my problem
On the WAN side, I have only one host, the gateway.
The WAN IP is a public address (I use 10.10.10.11 in my sample below) with a mask of 32
Other hosts have IPs on the same range 10.10.10.X somewhere else in the ISP networks.
Tthen I cannot use 10.10.10.11/24 for my IP wan because I would lose the possibility to connect to these hosts
at 10.10.10.X !10.10.10.11/32 WAN < –--- > GW (10.10.10.254) ~~ ISP ~~ GW (10.10.10.254) < ----- > 10.10.10.X/32
|
|
InternetUnder linux, I use this setup :
first setup the IP of the WAN interface
ifconfig eth0 10.10.10.10 netmask 255.255.255.255
add a route to the gateway on the eth0 side
route add -host 10.10.10.254 dev eth0
now linux know how to reach 10.10.10.254,
I can use it as a GW
route add default gw 10.10.10.254
And it works
I can I do similar stuff under pfsense using the commands
route add -net 10.10.10.254/32 -iface em0
route add default 10.10.10.254But how can I do it using the GUI.
Regards