2008-01-11 15:47:23 +00:00
|
|
|
To start iodined at boot, put these lines to your rc.conf:
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
iodined_enable="YES"
|
|
|
|
iodined_password="Passw0rd" # tunnel password
|
|
|
|
iodined_domain="t.example.net" # tunnel domain
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
Note that the password is visible from process list. The default ip
|
|
|
|
on the tunnel interface is set to 172.16.0.1. You can change it with
|
|
|
|
the ``iodined_addr'' variable in rc.conf.
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
You need to delegate the tunnel domain for iodined use. Add things
|
|
|
|
like these to the DNS zone file:
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
iodined IN A 192.0.2.1
|
|
|
|
t IN NS iodined.example.net.
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
Replace 192.0.2.1 with your server's (the one you run iodined) IP.
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
To run the client,
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
iodine -f -u _iodined -t /var/empty 192.168.1.1 t.example.net
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
Replace 192.168.1.1 with your DNS server.
|
2007-02-24 07:52:26 +00:00
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
See iodine(1) for more information.
|