Page 1 of 1
Re: Help with port-forwarding on my OpenVPN aws server
Posted: Sun Oct 22, 2023 10:42 am
by openvpn_inc
Hello,
This guide will tell you how to do this:
https://openvpn.net/vpn-server-resource ... ss-server/
For this to work the changes you've already made to iptables need to be undone, as it will likely interfere.
Also, you do not need to enable IP forwarding, that's something Access Server already does.
Kind regards,
Johan
Re: Help with port-forwarding on my OpenVPN aws server
Posted: Mon Oct 23, 2023 11:23 am
by openvpn_inc
Hello,
I am pretty sure that will have opened the port and set it up to be forwarded to the VPN client.
However, that does not automatically take care of things around it like for example a firewall installed on the VPN client itself, which could be blocking this incoming traffic on the VPN network adapter. So that's something to check for and fix. The same goes for the Security Groups on AWS (that's basically a firewall too) where you have to ensure that that port and protocol are open and reachable from the Internet on the public IP of this instance.
Another thing is that programs that listen on a particular port and protocol may also need to be configured to listen on multiple interface. It may for example be that whatever program you're using that's listening on your VPN client on port 8765 on UDP protocol is configured to listen only to the local network interface, and doesn't listen or respond to requests coming in on the VPN network adapter. So that's again something to check and fix.
From what I can see here, you configured Access Server correctly. But the rest around it also needs to be correct to allow the entire traffic path to succeed.
Kind regards,
Johan