Hi all!
i use VPN because there are proxy restrictions. After proxy connection, i haven’t connection to the internet. Some command outputs:
> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether bc:ae:c5:5e:e9:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.100/24 brd 192.168.0.255 scope global eth0
inet6 fe80::beae:c5ff:fe5e:e931/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 48:5d:60:cb:9c:62 brd ff:ff:ff:ff:ff:ff
inet6 fe80::4a5d:60ff:fecb:9c62/64 scope link
valid_lft forever preferred_lft forever
5: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/ether 26:eb:8f:e1:68:31 brd ff:ff:ff:ff:ff:ff
inet 10.4.1.69/24 brd 10.4.1.255 scope global tap0
inet6 fe80::24eb:8fff:fee1:6831/64 scope link
valid_lft forever preferred_lft forever
> ip route
default dev tap0 proto static
10.4.1.0/24 dev tap0 proto kernel scope link src 10.4.1.69
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.100
193.225.187.99 via 192.168.0.1 dev eth0 proto static
> cat /etc/resolv.conf
/etc/resolv.conf file autogenerated by netconfig!
Before you change this file manually, consider to define the
static DNS configuration using the following variables in the
/etc/sysconfig/network/config file:
NETCONFIG_DNS_STATIC_SEARCHLIST
NETCONFIG_DNS_STATIC_SERVERS
NETCONFIG_DNS_FORWARDER
or disable DNS configuration updates via netconfig by setting:
NETCONFIG_DNS_POLICY=’’
See also the netconfig(8) manual page and other documentation.
Note: Manual change of this file disables netconfig too, but
may get lost when this file contains comments or empty lines
only, the netconfig settings are same with settings in this
file and in case of a “netconfig update -f” call.
Please remove (at least) this line when you modify the file!
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.0.1
> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.4.1.69 icmp_seq=1 Destination Host Unreachable
From 10.4.1.69 icmp_seq=2 Destination Host Unreachable
From 10.4.1.69 icmp_seq=3 Destination Host Unreachable
From 10.4.1.69 icmp_seq=4 Destination Host Unreachable
— 8.8.8.8 ping statistics —
7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6001ms
pipe 4