I have a problem with local bridge in Softether VPN server.
I want to set home VPN, where I will be able to connect to my home network from everywhere.
I use L2TP and SSTP function and there is the same problem. Windows default VPN client on my Windows 8.1 throws error 720 (in attachment). I found, that problem is in local bridge function - client does not obtain IP address and it throws error 720.
In my network is DHCP server, which allocates addresses (home router).
If I set IP on client manually (not from DHCP), client will connect, but is immediately disconnected (without any error). No communication is possible.
I tried also Softether client - there is connection without errors and IP address is assigned, but no stations are reachable (WAN, LAN too).
So, result is that local bridge between VPN server and Linux physical device "eth0" is not working.
I tried to install VPN server to my computer (Windows 7) and there was everything after configuration correct and functional. But same configuration is not working on cubieboard.
My configuration:
1. OS: Tried on Linaro(Ubuntu) and Fedora (same result)
2. ifconfig -a
eth0 Link encap:Ethernet HWaddr 02:c9:07:c1:eb:73
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::c9:7ff:fec1:eb73/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:65248 errors:0 dropped:5 overruns:0 frame:0
TX packets:92869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8836663 (8.8 MB) TX bytes:11571519 (11.5 MB)
Interrupt:87 Base address:0x4000
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:16436 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)
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)
3. uname -a
Linux cubieboard2 3.4.61+ #1 SMP PREEMPT Sat Oct 26 16:09:42 CST 2013 armv7l armv7l armv7l GNU/Linux
4. Version 4.08 Build 9449
5. VPN server
6. NAT is set correctly and firewall is disabled.
7. No
Local bridge not working on Arm Linux - cubieboard2
-
- Posts: 2
- Joined: Fri Jun 13, 2014 2:43 pm
Local bridge not working on Arm Linux - cubieboard2
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Local bridge not working on Arm Linux - cubieboard2
Could you check the server log?
Is host on LAN shown in MAC address table?
Is host on LAN shown in MAC address table?
-
- Posts: 2
- Joined: Fri Jun 13, 2014 2:43 pm
Re: Local bridge not working on Arm Linux - cubieboard2
Thank you for your answer.
I checked log and after some experiments, I found that promiscuos mode on my system is not functional.
Network card drop every packet, which has different MAC from MAC on physically interface.
The reason, why VPN connection is not completed succesfully, is my DHCP server on router.
Router does not send its DHCP responses to broadcast, but directly to specific MAC address.
So, DHCP response packets are dropped and IP address is not set - it raise this error (720).
I tried other DHCP server, which communicates via broadcast and then was connection without error.
But communication was impossible.
The problem is probably in drivers. There is new version for my network module. I dont know how to update driver, so I will try to find OS with actual kernel.
I will give here a result.
I checked log and after some experiments, I found that promiscuos mode on my system is not functional.
Network card drop every packet, which has different MAC from MAC on physically interface.
The reason, why VPN connection is not completed succesfully, is my DHCP server on router.
Router does not send its DHCP responses to broadcast, but directly to specific MAC address.
So, DHCP response packets are dropped and IP address is not set - it raise this error (720).
I tried other DHCP server, which communicates via broadcast and then was connection without error.
But communication was impossible.
The problem is probably in drivers. There is new version for my network module. I dont know how to update driver, so I will try to find OS with actual kernel.
I will give here a result.