Hello
I have a vps running with openvz, and there are two domains hosted on it, but now i want to have open open installed on my vps, so i followed the guide and was able to install it successfully on port 1194 udp, but issue is that i want to have it working on port 53, and whenever i try to make a openvpn config file for port 53 and start it, i get:- unable to bind port already in use...
My server config file is like:-
local 185.xxx.xxx.xxx #-my_server_ip
port 53 #- port
proto udp #- protocol
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 1.2.3.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 4.2.2.1"
keepalive 5 30
comp-lzo
persist-key
persist-tun
status 53.log
verb 3
it works fine with port 1194 and others, but not 53 as i think named dns server is running , that why iam getting Port already in use error..
Is there any other way i can achieve this config(udp port 53 )...
Thanks & Regards
Help needed to setup my vps with vpn on port 53
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Apr 23, 2011 9:36 am
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Help needed to setup my vps with vpn on port 53
hi there,
as long as another service runs at the same port...no
i think the only service that openvpn can share its port is http/https using the --port-share
directive...
Michael
as long as another service runs at the same port...no
i think the only service that openvpn can share its port is http/https using the --port-share
directive...
Michael
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Apr 23, 2011 9:36 am
Re: Help needed to setup my vps with vpn on port 53
Hello
Thanks for the reply, but can it be done if i add one more ip to the vps?, i contacted my vps provider and they told me if we add one more ip to the vps , we can start open vpn on that ip on port 53 .and use the main ip for hosting(named dns)... is that fine... can anyone guide me?, do i need to do something extra or some new configurations?
Regards
Thanks for the reply, but can it be done if i add one more ip to the vps?, i contacted my vps provider and they told me if we add one more ip to the vps , we can start open vpn on that ip on port 53 .and use the main ip for hosting(named dns)... is that fine... can anyone guide me?, do i need to do something extra or some new configurations?
Regards