RabbieBurns Posted July 28, 2008 Posted July 28, 2008 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?
RabbieBurns Posted July 28, 2008 Author Posted July 28, 2008 Its installed but I dont use it. Every other service works fine. Im wondering if its worth re-emerging openvpn. Will all my keys still work if i re-install?
kmount Posted July 28, 2008 Posted July 28, 2008 Before re-emerging it, check iptables -L and see if you can telnet to the port locally.
RabbieBurns Posted July 29, 2008 Author Posted July 29, 2008 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
kesomir Posted July 29, 2008 Posted July 29, 2008 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.
RabbieBurns Posted July 29, 2008 Author Posted July 29, 2008 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 ~ #
kmount Posted July 30, 2008 Posted July 30, 2008 I wonder if its randomly listening on a different made up interface... Check the conf?
ahuxham Posted July 30, 2008 Posted July 30, 2008 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.
RabbieBurns Posted July 30, 2008 Author Posted July 30, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now