0

I am trying to setup an OpenVPN server similar to LiquidVPN.com. WIth their VPN server when a client connects it receives the public IP address of the server. All network traffic to the public IP is forwarded to the connected client.

I know this is sometimes referred to NATless routing but I cannot for the life of me figure out how to do this.

I have an AWS EC2 instance setup with the OpenVPN AS server working. I can connect and browse using a dynamically assigned IP. If I attempt to statically assign the server IP to myself (client) while I DO get the server public IP assigned to my client I cannot send or receive data.

The END goal (because maybe there is an easier way to do this) is to connect a local mail server via this OpenVPN server. My ISP blocks ports like 80 and 25. Connecting my local server to the OpenVPN server, I can send and receive data like my local server IS the OpenVPN server thus having access to those ports. LiquidVPN was able to allow me to host those services on port 80 and 25 but port forwarding wasn't needed because there was no NAT.

  • Are you sure you receive “the public address of the server” rather than “a public address”? How can you communicate with the VPN server if you have the same IP address as it? – user2233709 Jan 6 at 19:51
  • 1
    "My ISP blocks ports like 80 and 25." That would be for a residential network. – Ron Maupin Jan 6 at 20:29
  • @user2233709: Yes. I was given the public IP of the server to connect to, and when connecting to the server my computer receives that same IP and when asking "what's my IP" it shows that same IP. – djreisch Jan 7 at 4:44
  • @RonMaupin Yes you're correct. Unfortunately Cox does block those ports. Those on Time Warner Cable get to enjoy all those ports. – djreisch Jan 7 at 4:45
  • I know this is sometimes referred to NATless routing but I cannot for the life of me figure out how to do this. - Simple you get a range of addresses. The VPN server is assigned one address, the clients are assigned other addresses. You can't have a NAT-less setup with a single address. – Zoredache Jan 7 at 7:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.