diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-11-03 14:13:00 -0400 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-11-03 14:13:00 -0400 |
commit | 06c7e29cb8008b697463f02d693826f64643499f (patch) | |
tree | 664acdbe61e2af935294d345393651283803d892 /contrib | |
parent | 31aa0f9bb8466d43930128170a87b647c9d53dd2 (diff) | |
download | resdb-06c7e29cb8008b697463f02d693826f64643499f.tar.gz resdb-06c7e29cb8008b697463f02d693826f64643499f.zip |
Peer2AnoNet updated: made changes to ./run configuration and included
better documentation.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/peer2anonet/peer2anonet | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index f64a07b..2416d74 100644 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -156,10 +156,13 @@ export INTERFACE=ppp-$PEERNAME # uncomment if you want to nuke your default gateway and configure # routes only to peers through IcannNet. If any of your peers use # dynamic IP's or you use Tor or i2p then this is probably NOT a -# good idea. +# good idea. You may need to modify the DEFAULT_ROUTE code below. +# If you run into problems with this please email d3v11@d3v11.ano +# so I can create a patch. # -#route del default gw `ip route show | grep default | cut -d' ' -f 3` -#route add $REMOTE_ADDRESS gw `ip route show | grep default | cut -d' ' -f 3 +#DEFAULT_ROUTE=`ip route show | grep default | cut -d' ' -f 3` +#route del default gw $DEFAULT_ROUTE +#route add $REMOTE_ADDRESS gw $DEFAULT_ROUTE ( sleep 5; ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link |