Hi,
I have an ARMv5 embedded NAS with uClibc. And I decided to compile the latest SE source. It works smoothely, and the built in check says okay for all the system requirements.
However, the box has the old 2.6.31.8 kernel with disabled bridge.ko and NETFILTER support. So I Cannot use bridgeing, nor iptables in order to access my box remotely (I Can access everything, except the VPN server itself) through VPN.
But there is a workaround using Proxy ARP. With openVPN, I Can run this tiny sh file on every new connection establishment:
#!/ffp/bin/sh
default_nic="$(/bin/ip route show | grep -w 'default' | awk 'NR==1 {print $5}')"
/ffp/bin/sudo /ffp/sbin/arp -i "$default_nic" -Ds "$ifconfig_pool_remote_ip" "$default_nic" pub
/ffp/bin/sudo /bin/ip route add "$ifconfig_pool_remote_ip"/32 dev "$dev"
How Can I reach the same result with SEVpn? As I saw, there is no such option to run commands on client connect/disconnect.
Thanks.
Proxy ARP with SoftEther on an embedded device
-
- Posts: 5
- Joined: Tue Nov 07, 2017 6:08 pm
-
- Posts: 5
- Joined: Tue Nov 07, 2017 6:08 pm
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Proxy ARP with SoftEther on an embedded device
Did you try SecureNAT?
-
- Posts: 5
- Joined: Tue Nov 07, 2017 6:08 pm
Re: Proxy ARP with SoftEther on an embedded device
Yes. And I Can't access my VPN Server. Every other IP works, except the "local machine".
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Proxy ARP with SoftEther on an embedded device
Please try to disable kernel-mode SecureNAT and Raw IP mode SecureNAT in 'Virtual HUB
Extended option'.
Extended option'.
-
- Posts: 5
- Joined: Tue Nov 07, 2017 6:08 pm
Re: Proxy ARP with SoftEther on an embedded device
Thanks, that worked! However, when I try to access my host machine itself, the CPU usage becomes 99.9%. Is it normal? Therefore the page loadings are slow.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Proxy ARP with SoftEther on an embedded device
I think loop may be made.
Did you use SecureNAT and localbridge at same time?
If so, it can cause a loop.
Did you use SecureNAT and localbridge at same time?
If so, it can cause a loop.
-
- Posts: 5
- Joined: Tue Nov 07, 2017 6:08 pm
Re: Proxy ARP with SoftEther on an embedded device
Yes. Exactly, that was the problem.
Thanks a lot!
Thanks a lot!