Jump to content

Recommended Posts

Posted

have set up openvpn many times and never had an issue, but on this latest install, I keep getting connection refused on port 1194, even locally.

 

The conf is fine, and openvpn starts no problem, no error messages or anything anywhere.

 

Have I forgotton something stupid?

Posted

oasis ~ # iptables -L 
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

 

cant telnet locally and nmap doesnt list it as open

Posted

are you sure it's running?

 

ps aux | grep openvpn

 

and nothing strange in the logfiles?

 

- I don't do gentoo, but purge and reinstall if all else fails? - I don't know how long an install takes - if you're using binaries or building.

Posted

Interesting...

 

oasis ~ # /etc/init.d/openvpn start
* WARNING:  openvpn has already been started.
oasis ~ # rc-status
Runlevel: default
dhcpd                   stopped  
local                   started  
mysql                   started  
net.eth0                started  
netmount                started  
ntpd                    started  
openvpn                 started  
proftpd                 started  
samba                   started  
sshd                    started  
syslog-ng               started  
vixie-cron              started  
webmin                  started  
xinetd                  started  
oasis ~ # ps x | grep openvpn
16037 pts/0    S+     0:00 grep --colour=auto openvpn
oasis ~ # 

Posted
I wonder if its randomly listening on a different made up interface...

 

Check the conf?

 

Doesn't explain why its not showing from the ps aux | grep openvpn, when it say's its infact running.

Posted

ok, I unmerged and built from source

 

oasis ~ # ps aux | grep openvpn
nobody    4897  0.0  0.1  24932  1032 ?        Ss   00:23   0:00 /usr/sbin/openvpn --config /etc/openvpn/openvpn.conf --writepid /var/run/openvpn.pid --daemon --cd /etc/openvpn

 

But still same problem :confused:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...