Page 1 of 1

Proxy ARP with SoftEther on an embedded device

Posted: Tue Nov 07, 2017 6:20 pm
by Mr Dini
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.

Re: Proxy ARP with SoftEther on an embedded device

Posted: Sat Nov 11, 2017 10:27 pm
by Mr Dini
Up.

Re: Proxy ARP with SoftEther on an embedded device

Posted: Wed Nov 22, 2017 6:45 am
by thisjun
Did you try SecureNAT?

Re: Proxy ARP with SoftEther on an embedded device

Posted: Wed Nov 22, 2017 12:16 pm
by Mr Dini
Yes. And I Can't access my VPN Server. Every other IP works, except the "local machine".

Re: Proxy ARP with SoftEther on an embedded device

Posted: Thu Nov 30, 2017 7:12 am
by thisjun
Please try to disable kernel-mode SecureNAT and Raw IP mode SecureNAT in 'Virtual HUB
Extended option'.

Re: Proxy ARP with SoftEther on an embedded device

Posted: Fri Dec 08, 2017 9:29 pm
by Mr Dini
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.

Re: Proxy ARP with SoftEther on an embedded device

Posted: Wed Dec 20, 2017 5:04 am
by thisjun
I think loop may be made.
Did you use SecureNAT and localbridge at same time?
If so, it can cause a loop.

Re: Proxy ARP with SoftEther on an embedded device

Posted: Tue Jan 02, 2018 4:52 pm
by Mr Dini
Yes. Exactly, that was the problem.

Thanks a lot!