Routing traffic for a specific IP and port from OPT net through WAN



  • Hi

    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 1.1.1.2: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 1.1.1.2:443, and on WAN, to accept traffic from OTP2net with destination 1.1.1.2: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 (1.1.1.2: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?



  • Really dumb. I had a default gateway set on the interface, and the default gateway was the other router.
    Fixed now.