chinese_simplified english italian

NAT configuration

Monday, 28 February 2011

AT configuration (For advanced VPN system administrator)

Notes: Please use VPN-X 2.2.126 or above version, 2.4 version is preferred.

Purpose: Use the VPN-X server IP address to access the Internet or remote LAN.
Typical cases:

  • I live in the USA and work in Australia, but I want to use a USA IP address to surf the Internet, because some USA websites only accept native customers.
  • Our employees want to access a company LAN resource from home or other places.


Network assumed topology:

  • The LAN network: 192.168.1.0 (192.168.1.1 ~ 254)
  • Network mask: 255.255.255.0
  • LAN/WAN gateway: 192.168.1.1
  • VPN-X Server LAN IP: 192.168.1.28
  • VPN-X Server Virtual IP address: 192.168.240.1
  • The public IP address for this LAN is: 61.173.25.162 (assumed)

Run VPN-X server on your platform

Setup Port Mapping (Forwarding) on your route:

No LAN IP LAN Port Public Port Protocol
1 192.168.1.28 25000 25000 UDP
2 192.168.1.28 25000 25000 TCP
3 192.168.1.28 25443 25443 TCP


You can use commands to test whether your PORT Forwarding/MAP operation is successful.

You should run the following Test commands on the client side

telnet 192.168.1.28 25000
telnet 61.173.25.162 25000


The first command should be run on another machine in your LAN. That command will check whether VPN-X is working properly in your LAN.

The second command should be run in another place (not in same LAN with VPN-X server), The second command will check whether the VPN-X is working properly on the Internet.

If it fails, you should check your firewall settings (both your router or hardware firewall or other type network device, your Server Operation System), and port mapping/forwarding on the router.

If all of these ports work, it’s time to configure your VPN-X NAT server.

We prepared two platforms examples for you.

Last Updated Friday, 11 March 2011
All rights reserved.
Copyright (C) 2006-2014 BirdsSoft - Web by Amigamerlin