Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Our admins had blocked all outgoing ports except few like 80, 443, 110 etc. I want to use some software that utilizes other ports. So I decided to make a VPN connection to my dedicated server.

So we have:

  • Server, that has Ubuntu 10.04, external ip and I have root access to this box
  • Client, windows 7, NAT, and paranoid external firewall that blocks almost everything

How to setup VPN in this environment and configure it to use different ports like 443

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can use openvpn and configure the port you want to use it in config file.

On the client side, you use:

remote server_address_or_IP PORT

To change the port you connect on server.

If you want to change the port used by the client (local port) (not very usual but seems to be what you need), you can use:

lport PORT

directive and don't use nobind

share|improve this answer
    
how to configure ports at client side? –  Poma Jan 18 '12 at 15:32
    
openvpn config file has a line to input the port. answer updated –  laurent Jan 18 '12 at 15:36
    
client is windows 7. is openvpn available for both systems? –  Poma Jan 18 '12 at 15:42
    
yes - I never used it on win7 but it is available according to site. I use it on XP and linux. –  laurent Jan 18 '12 at 15:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.