VPN connection established - no IP change
Posted: Mon Jan 26, 2015 11:08 pm
Hi,
I wonder what I have to do to get my traffic route through the vpn connection, by linux command line utility only. I have established connection, but a simple test (using my cell phones hotspot), my ip on the client doesnt change when connected. I did get the android client to connect and change ip with SecureNat, but not the ubuntu client. Now I try to use the bridge and none work anymore, though both connect.
Below a short description, and below that more details about the system.
I pretty much followed this tutorial:
https://www.digitalocean.com/community/ ... -softether
But now I created a local bridge from the virtual hub to eth0. it is operating.
The Client says it connects:
AccountStatusGet command - Get Current VPN Connection Setting Status
Item |Value
------------------------------------------+------------------------------------------
VPN Connection Setting Name |xxxx
Session Status |Connection Completed (Session Established)
VLAN ID |-
Server Name |xxxxx
Port Number |TCP Port 443
Server Product Name |SoftEther VPN Server (32 bit)
Server Version |4.08
Server Build |Build 9449
Connection Started at |2015-01-27 (Tue) 00:03:19
First Session has been Established since |2015-01-27 (Tue) 00:03:20
Current Session has been Established since|2015-01-27 (Tue) 00:03:20
Number of Established Sessions |1 Times
Half Duplex TCP Connection Mode |No (Full Duplex Mode)
VoIP / QoS Function |Enabled
Number of TCP Connections |2
Maximum Number of TCP Connections |2
Encryption |Enabled (Algorithm: RC4-MD5)
Use of Compression |No (No Compression)
Physical Underlay Protocol |Standard TCP/IP (IPv4)
UDP Acceleration is Supported |Yes
UDP Acceleration is Active |No
Session Name |xxxxx
Connection Name |xxx
Session Key (160 bit) |xxxxxx
Bridge / Router Mode |No
Monitoring Mode |No
Outgoing Data Size |1,104 bytes
Incoming Data Size |1,080 bytes
Outgoing Unicast Packets |4 packets
Outgoing Unicast Total Size |336 bytes
Outgoing Broadcast Packets |0 packets
Outgoing Broadcast Total Size |0 bytes
Incoming Unicast Packets |1 packets
Incoming Unicast Total Size |86 bytes
Incoming Broadcast Packets |0 packets
Incoming Broadcast Total Size |0 bytes
The command completed successfully.
The server, everytime I try a connection, spits out:
eth0: must be stopped to change its MTU
However, my internet data still doesnt go through the vpn.
Any help is appreciated, as obvious I am just trying to get this to work without too much technical knowledge although I have read through many of the manual pages on softether.
best,
tnt
More info:
1. I run a server on an arm debian, and a 64 bit ubuntu client.
2. On the server:
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr xxxxxxx
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:6518 errors:0 dropped:0 overruns:0 frame:0
TX packets:5759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:830112 (810.6 KiB) TX bytes:810943 (791.9 KiB)
Interrupt:117 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23192 (22.6 KiB) TX bytes:23192 (22.6 KiB)
p2p0 Link encap:Ethernet HWaddr xxxxxxxxxxxxx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr xxxxxxxxxxxx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Client:
eth0 Link encap:Ethernet HWaddr xxxxxxxxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:f0600000-f0620000
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:54567 errors:0 dropped:0 overruns:0 frame:0
TX packets:54567 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5978804 (5.9 MB) TX bytes:5978804 (5.9 MB)
vpn_myadapter Link encap:Ethernet HWaddr xxxxxxxxxxx
inet6 addr: xxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6707 errors:0 dropped:0 overruns:0 frame:0
TX packets:4976 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1337832 (1.3 MB) TX bytes:414962 (414.9 KB)
wlan0 Link encap:Ethernet xxxxxxxxxxx
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1524469 errors:0 dropped:0 overruns:0 frame:0
TX packets:1306344 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1160330999 (1.1 GB) TX bytes:987582640 (987.5 MB)
3. Linux xxx 3.4.105-cubieboard #4 SMP PREEMPT Fri Jan 16 14:47:43 EST 2015 armv7l GNU/Linux
4. running Version 4.08 Build 9449 (English)
5. I use both server and client.
6. I test both within and outside the lan. There is a NAT firewall, the corresponding ports are open
7. I use localbridge between the virtual hub and the eth0 device now
8. I am not sure which of that data is confidential, maybe we can try without first?
I wonder what I have to do to get my traffic route through the vpn connection, by linux command line utility only. I have established connection, but a simple test (using my cell phones hotspot), my ip on the client doesnt change when connected. I did get the android client to connect and change ip with SecureNat, but not the ubuntu client. Now I try to use the bridge and none work anymore, though both connect.
Below a short description, and below that more details about the system.
I pretty much followed this tutorial:
https://www.digitalocean.com/community/ ... -softether
But now I created a local bridge from the virtual hub to eth0. it is operating.
The Client says it connects:
AccountStatusGet command - Get Current VPN Connection Setting Status
Item |Value
------------------------------------------+------------------------------------------
VPN Connection Setting Name |xxxx
Session Status |Connection Completed (Session Established)
VLAN ID |-
Server Name |xxxxx
Port Number |TCP Port 443
Server Product Name |SoftEther VPN Server (32 bit)
Server Version |4.08
Server Build |Build 9449
Connection Started at |2015-01-27 (Tue) 00:03:19
First Session has been Established since |2015-01-27 (Tue) 00:03:20
Current Session has been Established since|2015-01-27 (Tue) 00:03:20
Number of Established Sessions |1 Times
Half Duplex TCP Connection Mode |No (Full Duplex Mode)
VoIP / QoS Function |Enabled
Number of TCP Connections |2
Maximum Number of TCP Connections |2
Encryption |Enabled (Algorithm: RC4-MD5)
Use of Compression |No (No Compression)
Physical Underlay Protocol |Standard TCP/IP (IPv4)
UDP Acceleration is Supported |Yes
UDP Acceleration is Active |No
Session Name |xxxxx
Connection Name |xxx
Session Key (160 bit) |xxxxxx
Bridge / Router Mode |No
Monitoring Mode |No
Outgoing Data Size |1,104 bytes
Incoming Data Size |1,080 bytes
Outgoing Unicast Packets |4 packets
Outgoing Unicast Total Size |336 bytes
Outgoing Broadcast Packets |0 packets
Outgoing Broadcast Total Size |0 bytes
Incoming Unicast Packets |1 packets
Incoming Unicast Total Size |86 bytes
Incoming Broadcast Packets |0 packets
Incoming Broadcast Total Size |0 bytes
The command completed successfully.
The server, everytime I try a connection, spits out:
eth0: must be stopped to change its MTU
However, my internet data still doesnt go through the vpn.
Any help is appreciated, as obvious I am just trying to get this to work without too much technical knowledge although I have read through many of the manual pages on softether.
best,
tnt
More info:
1. I run a server on an arm debian, and a 64 bit ubuntu client.
2. On the server:
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr xxxxxxx
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:6518 errors:0 dropped:0 overruns:0 frame:0
TX packets:5759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:830112 (810.6 KiB) TX bytes:810943 (791.9 KiB)
Interrupt:117 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23192 (22.6 KiB) TX bytes:23192 (22.6 KiB)
p2p0 Link encap:Ethernet HWaddr xxxxxxxxxxxxx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr xxxxxxxxxxxx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Client:
eth0 Link encap:Ethernet HWaddr xxxxxxxxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:f0600000-f0620000
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:54567 errors:0 dropped:0 overruns:0 frame:0
TX packets:54567 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5978804 (5.9 MB) TX bytes:5978804 (5.9 MB)
vpn_myadapter Link encap:Ethernet HWaddr xxxxxxxxxxx
inet6 addr: xxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6707 errors:0 dropped:0 overruns:0 frame:0
TX packets:4976 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1337832 (1.3 MB) TX bytes:414962 (414.9 KB)
wlan0 Link encap:Ethernet xxxxxxxxxxx
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1524469 errors:0 dropped:0 overruns:0 frame:0
TX packets:1306344 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1160330999 (1.1 GB) TX bytes:987582640 (987.5 MB)
3. Linux xxx 3.4.105-cubieboard #4 SMP PREEMPT Fri Jan 16 14:47:43 EST 2015 armv7l GNU/Linux
4. running Version 4.08 Build 9449 (English)
5. I use both server and client.
6. I test both within and outside the lan. There is a NAT firewall, the corresponding ports are open
7. I use localbridge between the virtual hub and the eth0 device now
8. I am not sure which of that data is confidential, maybe we can try without first?