OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: Arunava Mandal on September 05, 2020, 07:52:06 AM

Title: Opnsense NAT and VPN
Post by: Arunava Mandal on September 05, 2020, 07:52:06 AM
Dear all,
Versions OPNsense 20.1-i386
I have two query any one can help me
1.   Opnesense NATTING
2.   Opnense VPN Connection ( PPTP or Open VPN : which you suggest me) to access local network or RDP from Home
My local Network address 192.168.0.0/24
My CCTV DVR address 192.168.0.95
Local  application server 192.168.0.96
Opnsense sever address : 192.168.0.85

WAN address : 15.16.48.86  WAN Gate way : 15.16.48.85
Public IP (no 5)  provide by ISP : 
1.   15.16.48.202
2.   15.16.48.203
3.   15.16.48.204
4.    15.16.48.205
5.   15.16.48.206

Can any one help me to configure  NAT setting for remote access those device.
Or how can access both device form home though this public IP
Like
1.   cctve drvice access  though 15.16.48.202
2.   application sever access though  15.16.48.203

advance Thank for your valuable suggestion 
Title: Re: Opnsense NAT and VPN
Post by: banym on September 08, 2020, 10:57:34 AM
You should NOT use PPTP anymore. Go with OpenVPN or Wireguard for Client-VPN.

If you have configured a working VPN you don't need NAT to access machines on the local network. How you setup openvpn for roadwarrior is described here: https://docs.opnsense.org/manual/how-tos/sslvpn_client.html

You should not make your internal devices reachable from the internet. Setup OpenVPN and access your devices over VPN.
Title: Re: Opnsense NAT and VPN
Post by: Arunava Mandal on September 09, 2020, 08:29:36 AM
Thanks Banym for your guide lines