Doc. # 1-00000962 | |||
---|---|---|---|
Date Updated | 10-26-2018 | Date Created | 09-12-2017 |
Document Type | Knowledge Base | Related OS | |
Related Product | ERT310/ ERT312/ RT3G-300/ RT3G-300-W/ RT3G-302/ RT3G-304/ RT3G-310/ RT3G-310-W/ RT3G-311/ RT3G-320-W/ RT3G-322/ RT3G-324/ RT3G-330/ RT3G-340-W/ RTLTE-300-VZ/ RTLTE-302-VZ/ RTLTE-304-VZ/ RTLTE-311-VZ |
How do you add more than 1 Remote Network on IPsec Tunnel? | |||
---|---|---|---|
Solution:
Unfortunately you can only have one remote network but you can have a remote network address for everything. For all traffic 0.0.0.0/0 can be used. This cannot be setup from web configuration but you can change it manually in setting file. In this case you can use Up Script, See below. Example for First IPsec: Up Script: #!/bin/sh # # This script will be executed when PPP/WAN connection is established. sed -e "s/\(IPSEC_REMOTE_NETWORK=\).*/\10.0.0.0/" -i /etc/settings.ipsec sed -e "s/\(IPSEC_REMOTE_NETMASK=\).*/\10/" -i /etc/settings.ipsec service ipsec restart Note: If you do this and there are devices directly attached to our router with DHCP information received from our router's DHCP server then you may want to change the DNS Server handed out. To do this see article below. http://support.bb-elec.com/article/14629/66898/How-do-you-change-DHCP-Server-of-Spectre-router-to-hand-out-a-different-Gateway-and-DNS-Server?
|