Routing traffic for a specific IP and port from OPT net through WAN
sinaowolabi last edited by sinaowolabi
Sorry for the newbie question, but I am really stumped.
I have a pfsense that borders with another router (they both have an interface on 192.168.2.0/24).
pfsense interfaces are:
WAN (wan) -> vtnet3 -> v4: WAN.IP/29
LAN (lan) -> vtnet1 -> v4: 10.0.192.253/24
OPT1 (opt1) -> vtnet2 -> v4: 10.0.182.253/24
OPT2 (opt2) -> vtnet0 -> v4: 192.168.2.244/24
I am trying to make the other router (source addresses on the OPT2 network, 192.168.2.0/24) to direct traffic for a destination, say 184.108.40.206:443, using the pfsense's OTP2 interface.
I tried setting up firewall rules on the pfsense for OTP2 to accept traffic from the OTP2net with destination 220.127.116.11:443, and on WAN, to accept traffic from OTP2net with destination 18.104.22.168:443, I can see the traffic on the WAN interface using tcpdump, but it is still not working (traffic isnt being passed/translated from the WAN to the destination and back to the source (192.168.2.0/24).)
I have deleted all the rules and left a rule I copied from the LAN network (default accept all traffic on the OPT2 interface).
From the pfsense, I can connect to the intended destination (22.214.171.124:443) from the OPT1 and LAN interfaces on Firewall -> Diagnostics -> Traceroute and Test Port.
But I cannot connect from the OPT2 interface.
Please what am I doing wrong?
sinaowolabi last edited by
Really dumb. I had a default gateway set on the interface, and the default gateway was the other router.