Mercurial > hg > anonet-resdb
changeset 727:3138e320dc47 draft
Peer2AnoNet updated: made changes to ./run configuration and included
better documentation.
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Thu, 03 Nov 2011 14:13:00 -0400 |
parents | 2d916fa935e6 |
children | 37b9a0bcd1f2 |
files | contrib/peer2anonet/peer2anonet |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet Wed Nov 02 23:34:38 2011 -0400 +++ b/contrib/peer2anonet/peer2anonet Thu Nov 03 14:13:00 2011 -0400 @@ -156,10 +156,13 @@ # 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