Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
NAT internal IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: NAT internal IP (Read 1677 times)
c-mu
Full Member
Posts: 210
Karma: 5
NAT internal IP
«
on:
April 02, 2020, 01:42:19 pm »
Hi,
I want to enable OpenVPN from my Wifi VLAN, but without changing the client config. All my VPN Clinets have the external IP of my Server in their conifg.
Like: 80.72.100.100:443 (fantasy IP)
The OpenVPN Sevice ist listening on 10.27.30.35:1194.
From Outside, I do the following Forward NATing:
Interface: outside
Proto: TCP
Source: *
Destination: my Pub IP
Dest Port: 443
NAT IP: 10.27.30.35
NAT Port: 1194
That works finde.
Now I want the same for my Wifi, but I didint get it:
Interface: Wifi
Proto: TCP
Source: *
Destination: my Pub IP
Dest Port: 443
NAT IP: 10.27.30.35
NAT Port: 1194
Should'nt that work too? Do I miss something?
If i change my config to the internal IP and Port, then I can connect.
Thank You
Logged
c-mu
Full Member
Posts: 210
Karma: 5
Re: NAT internal IP
«
Reply #1 on:
April 02, 2020, 03:06:45 pm »
found the solution: as simple as that: dont use outbound nat for Wifi, instead use the same port forward rule from outside, and add the wifi interface there
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
NAT internal IP