I have an OpenVPN Ubuntu Server working on ip 192.168.1.11
I need to let my roadwarriors use it from anywhere. I have a Cisco 800 router but I'm not an expert... I've downloaded using tftp its running config
copy running-config tftp
and I'm editing it with notepad++
I think that I should add:
ip nat inside source static tcp 192.168.1.11 1194 mypublicip 1194 extendable
is this all? Then I should just restore this modified config and I'm done? Should I also add a permissive rule on the firewall config (always cisco 800)?
Cisco manuals suggest me to delete all rows in my config contaning "AAA" I just have: no aaa new-model should I keep it? I'm reading that those "aaa" commands could lock me out of the router :/
Thanks.
no aaa new-model
is fine if you don't have any dialin or vpn configured on this router.Regarding your NAT/PAT issue, your statement should be OK if you are indeed using openvpn over TCP.
The other solution would be to set up a static nat redirection for all ports (what consumer routers call 'DMZ'):