Port Forward over VPN

Started by bumann, May 12, 2019, 09:04:53 AM

Previous topic - Next topic
Hi,
i use site2site opnsense setup with wireguard. It works fine, the ips from the two subnets can talk to each other over thte wireguard vpn. Now i want to forward for excample port 8443 on wan from site A to a ip on site B.
I use NAT port forward from site A wan to site A LAN with success. I test to use the same rule to forward to site B LAN Adress but it did not work. How to do that? Thanks

Does the host in site B have its default gateway set to the tunnel? You may have to source NAT the traffic from site A at site B for the host at site B to be able to send reply packets back to the source.

Bart...

You dont need to, The VPN puts you onto the remote network
Just put in the IP and port the device is listening on

ie   10.2.30.2:80      for web etc