Multi WAN - Port Forwarding



  • Hi

    
    188.0.0.11 (dynamic IP)(WAN1)(default gateway)-----------
                                                                                      \                                      
                                                                                        192.168.1.1 (pfsense)-----192.168.1.2 (VPN Gate)-----192.168.2.0(LAN Clients, surfing, mailing, etc)
                                                                                      /                                      
    62.0.0.11 (static IP)(WAN2)-------------------------------                                         
    
    

    As you see my Setup has 2 WAN Connections. All traffic from the Clients in 192.168.0.2 will be routed through WAN1, this is ok.

    My VPN access should be handled by WAN2 because of the static IP. So I setup port forwarding from WAN2:VPNPort to 192.168.1.2:VPNPort. This is ok, wenn WAN2 is the default Gateway. If I change the default Gateway the incoming VPN Traffic from WAN2 goes to VPN Gate and the responses goes through the default Gateway WAN1… So I never get a connection.

    How can I setup pfsense to do this right?

    Thx
    Vyemm


Log in to reply