aboutsummaryrefslogtreecommitdiff
path: root/net/iodine/pkg-message
blob: 91ab68e89aa8b094039559b8fe54b34968232c95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
To start iodined at boot, put these lines to your rc.conf:

  iodined_enable="YES"
  iodined_password="Passw0rd"         # tunnel password
  iodined_domain="t.example.net"      # tunnel domain

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.

You need to delegate the tunnel domain for iodined use. Add things
like these to the DNS zone file:

  iodined	IN	A	192.0.2.1
  t		IN	NS	iodined.example.net.

Replace 192.0.2.1 with your server's (the one you run iodined) IP.

To run the client,

  iodine -f -u _iodined -t /var/empty 192.168.1.1 t.example.net

Replace 192.168.1.1 with your DNS server.

See iodine(1) for more information.