mirror of https://github.com/hak5/openwrt-owl.git
6to4: set the tunnel remote endpoint to any, put the gateway in the route instead
SVN-Revision: 30950owl
parent
7dcb1402e5
commit
fab655c2b1
|
@ -159,14 +159,13 @@ proto_6to4_setup() {
|
||||||
|
|
||||||
proto_init_update "$link" 1
|
proto_init_update "$link" 1
|
||||||
proto_add_ipv6_address "$local6" 16
|
proto_add_ipv6_address "$local6" 16
|
||||||
proto_add_ipv6_route "::" 0
|
proto_add_ipv6_route "::" 0 "::192.88.99.1"
|
||||||
|
|
||||||
proto_add_tunnel
|
proto_add_tunnel
|
||||||
json_add_string mode sit
|
json_add_string mode sit
|
||||||
json_add_int mtu "${mtu:-1280}"
|
json_add_int mtu "${mtu:-1280}"
|
||||||
json_add_int ttl "${ttl:-64}"
|
json_add_int ttl "${ttl:-64}"
|
||||||
json_add_string local "$local4"
|
json_add_string local "$local4"
|
||||||
json_add_string remote "192.88.99.1"
|
|
||||||
proto_close_tunnel
|
proto_close_tunnel
|
||||||
|
|
||||||
proto_send_update "$cfg"
|
proto_send_update "$cfg"
|
||||||
|
|
Loading…
Reference in New Issue