<?xml version='1.0'?>
<antinatconfig>
<!-- Any interface -->
<interface value='0.0.0.0'/>
<!-- Port to listen on -->
<port value='1080'/>
<!-- Allow users to be authenticated against UNIX usernames -->
<allowlocalusers/>
<!-- Time in seconds to listen for outside incoming connections when
applications request a BIND operation before timeout -->
<maxbindwait value='60'/>
<!-- demonstration user account -->
<!-- <user user='testuser' password='testpass'/> -->
<chain name='foobar'>
<uri value='socks5://127.0.0.1:10005'/>
</chain>
<!-- What logs should we keep? -->
<log>
<addrdaylog value='/usr/local/var/log/antinat-0.90/day_addr.log'/>
<userdaylog value='/usr/local/var/log/antinat-0.90/day_user.log'/>
<connlog value='/usr/local/var/log/antinat-0.90/connection.log'/>
</log>
<!-- What security methods do we offer clients? -->
<authchoice source_addrtype='ipv4'>
<authchoice source_addr='127.0.0.1/32'>
<select mechanism='anonymous'/>
</authchoice>
<authchoice source_addr='192.168.0.0/16'>
<select mechanism='anonymous'/>
</authchoice>
<authchoice source_addr='172.16.0.0/12'>
<select mechanism='anonymous'/>
</authchoice>
<authchoice source_addr='10.0.0.0/8'>
<select mechanism='anonymous'/>
</authchoice>
<select mechanism='chap'/>
<select mechanism='cleartext'/>
</authchoice>
<!-- Which connections should we accept or reject? -->
<filter>
<filter source_addrtype='ipv4'>
<filter source_addr='10.100.98.104'>
<chain name='foobar'/>
</filter>
</filter>
<filter source_addrtype='ipv4' dest_addrtype='ipv4'>
<filter user='root'>
<reject/>
</filter>
<filter source_addr='127.0.0.1/32'>
<accept/>
</filter>
<filter dest_addr='127.0.0.1/32'>
<reject/>
</filter>
<filter source_addr='192.168.0.0/16'>
<accept/>
</filter>
<filter source_addr='172.16.0.0/12'>
<accept/>
</filter>
<filter source_addr='10.0.0.0/8'>
<accept/>
</filter>
</filter>
<reject/>
</filter>
</antinatconfig>