S
S
Sergey2015-04-12 11:01:42
openvpn
Sergey, 2015-04-12 11:01:42

Openvpn: no internet after connecting, what's the problem?

Good afternoon, after installing openvpn, follow this manual adw0rd.com/2013/1/10/openvpn/#.VSpBB9KsUbL:
no internet, after connecting to the server, as I understand it, there is no default route that allows you to go to the internet.
here is the route and iptables listing:

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  192.168.50.0/24      anywhere
ACCEPT     all  --  anywhere             192.168.50.0/24      state RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gw.ipv4.layer6. 0.0.0.0         UG    0      0        0 eth0
192.168.50.0    192.168.50.2    255.255.255.0   UG    0      0        0 tun0
192.168.50.2    *               255.255.255.255 UH    0      0        0 tun0
localnet        *               255.255.254.0   U     0      0        0 eth0

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question