Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Port Forward over VPN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Port Forward over VPN (Read 2061 times)
bumann
Newbie
Posts: 5
Karma: 0
Port Forward over VPN
«
on:
May 12, 2019, 09:04:53 am »
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
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Port Forward over VPN
«
Reply #1 on:
May 12, 2019, 02:53:58 pm »
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...
Logged
Simon
Newbie
Posts: 19
Karma: 1
Re: Port Forward over VPN
«
Reply #2 on:
May 12, 2019, 07:06:30 pm »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Port Forward over VPN