You are not logged in.

#1 2009-10-26 18:55:24

jauntale
Member
Registered: 2009-06-26
Posts: 27

OpenVPN problem

Hi!

I have problem using OpenVPN.

The vpn works when using wireless connection but with eth0(wired) interface it does not.
When using eth0 it is possible successfully ping hosts trough vpn and thats all.
eth0 does not use router.

Help appreciated!

route output:
wlan0

edited out

eth0

edited out

Last edited by jauntale (2010-01-15 14:59:04)

Offline

#2 2009-10-26 21:58:05

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: OpenVPN problem

What host are you trying to connect to via the VPN?

EDIT: and what's the output of `ip a s`?

Last edited by fukawi2 (2009-10-26 21:59:08)

Offline

#3 2009-10-26 22:33:04

jauntale
Member
Registered: 2009-06-26
Posts: 27

Re: OpenVPN problem

Trying to connect 172.16.0.20 f.e.
I can ping that ip and nslookup also works (dns is avelable trough the same vpn)

ip a s

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 576 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1d:09:59:3f:35 brd ff:ff:ff:ff:ff:ff
    inet 87.110.126.130/22 brd 255.255.255.255 scope global eth0
3: wmaster0: <UP,LOWER_UP> mtu 0 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ieee802.11 00:21:5c:92:f4:49 brd 00:00:00:00:00:00
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:21:5c:92:f4:49 brd ff:ff:ff:ff:ff:ff
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
    link/[65534]
    inet 172.19.0.14 peer 172.19.0.13/32 scope global tun0

Offline

#4 2009-10-27 01:02:25

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: OpenVPN problem

All looks correct, except you have 2 default gateways when using wlan0 but you say that works so that's a whole other issue wink

I can't see any problems -- perhaps some kind of firewalling? Do you have rules in your iptables OUTPUT chain? `iptables -nvL OUTPUT` to check. Failing that, perhaps some kind of firewall on the other end? Especially considering some traffic works (icmp and dns) but not others it definitely sounds firewall related.

Offline

#5 2009-10-28 00:48:15

jauntale
Member
Registered: 2009-06-26
Posts: 27

Re: OpenVPN problem

Funny that with wlan0 everything works fine but with eth0 no.

For iptables I have no rules for OUTPUT.

Last edited by jauntale (2009-10-28 00:49:18)

Offline

Board footer

Powered by FluxBB