I use the networkmanager under KDE and it seems that I’m connected to the vpn server.
However when i navigate to http://www.whatsmyip.org/ my IP stays the same.
Below some information about my settings.
Opensuse 13:2 kde
I386 32 bits
user@Comp:~> /sbin/ifconfig -a
enp2s0 Link encap:Ethernet HWaddr D0:50:99:22:F5:06
inet addr:192.168.2.12 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2a02:a442:e4c6:0:d250:99ff:fe22:f506/64 Scope:Global
inet6 addr: fe80::d250:99ff:fe22:f506/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2109523 errors:0 dropped:0 overruns:0 frame:0
TX packets:1233236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2582641158 (2462.9 Mb) TX bytes:98568238 (94.0 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1643 errors:0 dropped:0 overruns:0 frame:0
TX packets:1643 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101873 (99.4 Kb) TX bytes:101873 (99.4 Kb)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.211.1.9 P-t-P:10.211.1.10 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:196 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:61399 (59.9 Kb) TX bytes:0 (0.0 b)
user@Comp:~>
Linux Comp 3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539) i686 i686 i386 GNU/Linux
I'M using:
vpn198407580.opengw.net
82.246.191.134
(mut38-5-82-246-191-134.fbx.proxad.net)
There is a router between my computer and the internet. Not sure if it's using NAT.
If so what port do i have to open?
Also i noticed a lot of rx errors but don't know what the mean.
Ip address doesn't change after connecting
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Ip address doesn't change after connecting
Are you connecting using L2TP/IPsec or OpenVPN? You may need to add the route manually.
For example, the server IP is 82.246.191.134. You will need to use the following commands in order.
ip route add 82.246.191.134 via <your original default gateway> dev enp2s0
ip route del default via <your original default gateway> dev enp2s0
ip route add default dev tun0
After disconnecting, run the following commands.
ip route del 82.246.191.134 via <your original default gateway> dev enp2s0
ip route add default via <your original default gateway> dev enp2s0
For example, the server IP is 82.246.191.134. You will need to use the following commands in order.
ip route add 82.246.191.134 via <your original default gateway> dev enp2s0
ip route del default via <your original default gateway> dev enp2s0
ip route add default dev tun0
After disconnecting, run the following commands.
ip route del 82.246.191.134 via <your original default gateway> dev enp2s0
ip route add default via <your original default gateway> dev enp2s0
-
- Posts: 4
- Joined: Thu Jul 30, 2015 8:30 am
Re: Ip address doesn't change after connecting
Thanks man. That works!
But what did i do wrong at the networkmanager?
But what did i do wrong at the networkmanager?
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Ip address doesn't change after connecting
Have you chosen using the server as the gateway for the internet connection?
If yes or do not have this option, perhaps your OS is not applying the routes pushed by the server correctly.
This problem should not happen on Windows.
If yes or do not have this option, perhaps your OS is not applying the routes pushed by the server correctly.
This problem should not happen on Windows.
-
- Posts: 4
- Joined: Thu Jul 30, 2015 8:30 am
Re: Ip address doesn't change after connecting
Yes i did choose the server as gateway.
I imported the ovpn file as the kde networkmanager gives you that option.
Other vpn accounts i can import the file without a problem and gives almost certainly a working connection.
I imported the ovpn file as the kde networkmanager gives you that option.
Other vpn accounts i can import the file without a problem and gives almost certainly a working connection.
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Ip address doesn't change after connecting
I am not using openvpn now so I have no idea about it. I am using L2TP/IPsec with Windows built-in client.
-
- Posts: 4
- Joined: Thu Jul 30, 2015 8:30 am
Re: Ip address doesn't change after connecting
Ok but many thanks for your help.