1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/docs/exit-setup.md
Jeff c30538a381
Update exit-setup.md
`hops=1` is not supported anymore.
2021-09-12 11:07:10 -04:00

449 B

to configure lokinet to be an exit add into lokinet.ini:

[router]
min-connections=8
max-connections=16

[network]
exit=true
keyfile=/var/lib/lokinet/exit.private
reachable=1
ifaddr=10.0.0.1/16
hops=2
paths=8

post setup for exit (as root) given eth0 is used to get to the internet:

# echo 1 > /proc/sys/net/ipv4/ip_forward
# iptables -t nat -A POSTROUTING -s 10.0.0.0/16 -o eth0 -j MASQUERADE