Ip address doesn't change after connecting

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Vpnfree
Posts: 4
Joined: Thu Jul 30, 2015 8:30 am

Ip address doesn't change after connecting

Post by Vpnfree » Thu Jul 30, 2015 8:51 am

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.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Ip address doesn't change after connecting

Post by kh_tsang » Thu Jul 30, 2015 11:29 am

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

Vpnfree
Posts: 4
Joined: Thu Jul 30, 2015 8:30 am

Re: Ip address doesn't change after connecting

Post by Vpnfree » Thu Jul 30, 2015 11:51 am

Thanks man. That works!

But what did i do wrong at the networkmanager?

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Ip address doesn't change after connecting

Post by kh_tsang » Thu Jul 30, 2015 1:36 pm

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.

Vpnfree
Posts: 4
Joined: Thu Jul 30, 2015 8:30 am

Re: Ip address doesn't change after connecting

Post by Vpnfree » Thu Jul 30, 2015 1:50 pm

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.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Ip address doesn't change after connecting

Post by kh_tsang » Thu Jul 30, 2015 2:53 pm

I am not using openvpn now so I have no idea about it. I am using L2TP/IPsec with Windows built-in client.

Vpnfree
Posts: 4
Joined: Thu Jul 30, 2015 8:30 am

Re: Ip address doesn't change after connecting

Post by Vpnfree » Thu Jul 30, 2015 3:35 pm

Ok but many thanks for your help.

Post Reply