Re: [opensuse] Building VPN network with OpenVPN and OpenSuSE11



On Thursday 30 October 2008 11:29:46 Patrik Hasibuan wrote:
Dear Jo,

This is my try:
"
mysussy:~ # ls /etc/openvpn
README loopback-client server.conf xinetd-client-config
client.conf loopback-server server.conf.orig xinetd-server-config
easy-rsa office.up static-home.conf
xinetd-server-config.orig firewall.sh openvpn-shutdown.sh
static-office.conf
home.up openvpn-startup.sh tls-home.conf
ipp.txt openvpn-status.log tls-office.conf

So there are loads of .conf files in there ... you'll need to reduce this to
one (server.conf) at some point.

mysussy:~ # cd /
mysussy:/ # openvpn --config /etc/openvpn/server.conf
Thu Oct 30 11:23:05 2008 OpenVPN 2.0.9 i586-suse-linux [SSL] [LZO] [EPOLL]
built on Jun 7 2008 Thu Oct 30 11:23:05 2008 TCP/UDP: Socket bind failed
on local address 219.83.114.179:1194: Address already in use Thu Oct 30
11:23:05 2008 Exiting
mysussy:/ # cd /etc/openvpn
mysussy:/etc/openvpn # openvpn --config /etc/openvpn/server.conf
Thu Oct 30 11:23:20 2008 OpenVPN 2.0.9 i586-suse-linux [SSL] [LZO] [EPOLL]
built on Jun 7 2008 Thu Oct 30 11:23:21 2008 TCP/UDP: Socket bind failed
on local address 219.83.114.179:1194: Address already in use Thu Oct 30
11:23:21 2008 Exiting
mysussy:/etc/openvpn #
"

Probably an existing instance of openvpn is holding the port open.
netstat -anp | grep 1194 should tell you which process has this port open.
Kill the process and start it again from the command line.

'219.83.114.179' is the global-ip number of my outter wlan-card towards the
internet gateway of our ISP.

I am confused why the port-number of '1194' has been already occupied
whereas the 'openvpn' still can not start. Who/which is using this
port-number?

Please advice me.

See above.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Timeda 8-multiport adapter: only 2 ports available
    ... ns8250_probe: no errors, exiting ... puc_config_timedia: entering with command 4 ... puc_config_timedia: error ENXIO, exiting ...
    (freebsd-current)
  • Re: [opensuse] KNetworkManager and OpenVPN - SUSE 10.3
    ... Helmut Schaa wrote: ... I've got an openVPN configuration file out of Astaros Firewall software ... I've tested a long time with the openvpn command issued by the ... Vorsitzender des Aufsichtsrates: Heinrich Laumann ...
    (SuSE)
  • Re: logout from ssh session
    ... OpenSSH may hang when exiting. ... A work around for bash users is to place "shopt -s huponexit" in either ... an option to enable it to send a HUP signal to active jobs when exiting. ... "proper" handling of file descriptors (longer command line) did. ...
    (SSH)
  • Re: [opensuse] KNetworkManager and OpenVPN - SUSE 10.3
    ... i saw your mail address in Bug 332691 and here now. ... I've got an openVPN configuration file out of Astaros Firewall software ... I've tested a long time with the openvpn command issued by the ... networkmanager and need to add/remove these entries: ...
    (SuSE)
  • Re: openVPN: no home network access
    ... Establish the OpenVPN connection from the client. ... If you compare the output of this command before and after starting the ... 192.168.100.0/24 is being learned by the Windoze client. ...
    (comp.os.linux.security)