Hi there,
thanks for the great softether project!
here my situation: I run networks at 2 sites, A and B. A is the main site with addresses from a local DHCP router, having addresses, say 10.10.10.*
at A, a linux on local address 10.10.10.8 (on raspberry pi (RPI)) runs vpnserver in bridging mode.
at B, a linux (on RPI) local address 10.10.5.199 runs vpnclient - connection established well.
however, after rebooting the computer at B, I have to perform the following commands:
sudo /usr/local/vpnclient/vpnclient start
sudo ifconfig vpn_zhuhai 10.10.10.56 netmask 255.255.255.0 up
sudo route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.10.56
setting up vpnclient on linux (raspberry pi)
-
- Posts: 11
- Joined: Sat Sep 21, 2013 3:36 am
Re: setting up vpnclient on linux (raspberry pi)
Here my QUESTION 1:
can I automate these commands in a startup script at boot time? How?
> sudo /usr/local/vpnclient/vpnclient start
> sudo ifconfig vpn_zhuhai 10.10.10.56 netmask 255.255.255.0 up
> sudo route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.10.56
can I automate these commands in a startup script at boot time? How?
> sudo /usr/local/vpnclient/vpnclient start
> sudo ifconfig vpn_zhuhai 10.10.10.56 netmask 255.255.255.0 up
> sudo route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.10.56
-
- Posts: 11
- Joined: Sat Sep 21, 2013 3:36 am
Re: setting up vpnclient on linux (raspberry pi)
Here my QUESTION 2:
say, the network is up an running. Via the client computer, at site B, I can ssh into any other computer on 10.10.10.* BUT 10.10.10.8 - the RPI running the vpnserver.
WHY NOT - and how to configure it to be able to?
Examples:
from 10.10.5.199 i succeed to ssh 10.10.10.111 - which is on the A network
from 10.10.5.199 i succeed to ssh 10.10.10.44 - which is via VPN on a third C network
from 10.10.10.111 i succeed to ssh 10.10.10.8 - both on the A network
BUT
from 10.10.5.199 i CANNOT ssh 10.10.10.8
say, the network is up an running. Via the client computer, at site B, I can ssh into any other computer on 10.10.10.* BUT 10.10.10.8 - the RPI running the vpnserver.
WHY NOT - and how to configure it to be able to?
Examples:
from 10.10.5.199 i succeed to ssh 10.10.10.111 - which is on the A network
from 10.10.5.199 i succeed to ssh 10.10.10.44 - which is via VPN on a third C network
from 10.10.10.111 i succeed to ssh 10.10.10.8 - both on the A network
BUT
from 10.10.5.199 i CANNOT ssh 10.10.10.8
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: setting up vpnclient on linux (raspberry pi)
Is the server on 10.10.10.8? I have the same problem on Synology DS213.
-
- Posts: 11
- Joined: Sat Sep 21, 2013 3:36 am
Re: setting up vpnclient on linux (raspberry pi)
kh_tsang wrote:
> Is the server on 10.10.10.8? I have the same problem on Synology DS213.
yes, correct, 10.10.10.8 would be the server! can connect to all other but the server!
> Is the server on 10.10.10.8? I have the same problem on Synology DS213.
yes, correct, 10.10.10.8 would be the server! can connect to all other but the server!
-
- Posts: 11
- Joined: Sat Sep 21, 2013 3:36 am
Re: setting up vpnclient on linux (raspberry pi)
in debian linux, how can I automatically start softether client after boot? is there any script and the location where to put it?
THANKS - ありがとう
THANKS - ありがとう