Guest User

Untitled

a guest
Sep 5th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.24 KB | None | 0 0
  1.  
  2. <?xml version="1.0"?>
  3. <m0n0wall>
  4.     <version>1.8</version>
  5.     <lastchange>1346897326</lastchange>
  6.     <system>
  7.         <hostname>m0n0wall</hostname>
  8.         <domain>clientlan</domain>
  9.         <dnsallowoverride/>
  10.         <username>admin</username>
  11.         <password>redacted</password>
  12.         <timezone>Asia/Bangkok</timezone>
  13.         <time-update-interval>300</time-update-interval>
  14.         <timeservers>3.m0n0wall.pool.ntp.org</timeservers>
  15.         <webgui>
  16.             <protocol>http</protocol>
  17.             <port/>
  18.         </webgui>
  19.     </system>
  20.     <interfaces>
  21.         <lan>
  22.             <if>rl0</if>
  23.             <ipaddr>192.168.1.1</ipaddr>
  24.             <subnet>24</subnet>
  25.             <media/>
  26.             <mediaopt/>
  27.         </lan>
  28.         <wan>
  29.             <if>bge0</if>
  30.             <media/>
  31.             <mediaopt/>
  32.             <spoofmac/>
  33.             <ipaddr>dhcp</ipaddr>
  34.             <dhcphostname/>
  35.         </wan>
  36.         <opt1>
  37.             <if>rl1</if>
  38.             <descr>DMZ</descr>
  39.             <ipaddr>10.198.250.151</ipaddr>
  40.             <spoofmac>00:1E:EC:72:ED:92</spoofmac>
  41.             <subnet>16</subnet>
  42.             <gateway>10.198.0.1</gateway>
  43.             <bridge/>
  44.             <enable/>
  45.         </opt1>
  46.     </interfaces>
  47.     <staticroutes/>
  48.     <pppoe/>
  49.     <pptp/>
  50.     <dyndns>
  51.         <type>dyndns</type>
  52.         <username/>
  53.         <password/>
  54.         <host/>
  55.         <mx/>
  56.         <server/>
  57.         <port/>
  58.     </dyndns>
  59.     <dnsupdate/>
  60.     <dhcpd>
  61.         <lan>
  62.             <enable/>
  63.             <range>
  64.                 <from>192.168.1.101</from>
  65.                 <to>192.168.1.200</to>
  66.             </range>
  67.         </lan>
  68.     </dhcpd>
  69.     <pptpd>
  70.         <mode/>
  71.         <nunits>16</nunits>
  72.         <redir/>
  73.         <localip/>
  74.         <remoteip/>
  75.     </pptpd>
  76.     <dnsmasq>
  77.         <enable/>
  78.     </dnsmasq>
  79.     <snmpd>
  80.         <syslocation/>
  81.         <syscontact/>
  82.         <rocommunity>public</rocommunity>
  83.     </snmpd>
  84.     <diag/>
  85.     <bridge/>
  86.     <syslog/>
  87.     <nat>
  88.         <advancedoutbound>
  89.             <rule>
  90.                 <source>
  91.                     <network>192.168.1.0/24</network>
  92.                 </source>
  93.                 <descr>NAT to client LAN</descr>
  94.                 <target/>
  95.                 <interface>opt1</interface>
  96.                 <destination>
  97.                     <network>10.0.0.0/8</network>
  98.                 </destination>
  99.             </rule>
  100.         </advancedoutbound>
  101.         <rule>
  102.             <protocol>tcp</protocol>
  103.             <external-port>80</external-port>
  104.             <target>192.168.1.50</target>
  105.             <local-port>80</local-port>
  106.             <interface>opt1</interface>
  107.             <descr>HTTP NAT for LesPaul</descr>
  108.         </rule>
  109.     </nat>
  110.     <filter>
  111.         <rule>
  112.             <type>pass</type>
  113.             <interface>opt1</interface>
  114.             <protocol>icmp</protocol>
  115.             <source>
  116.                 <any/>
  117.             </source>
  118.             <destination>
  119.                 <any/>
  120.             </destination>
  121.             <descr>Allow ping on DMZ</descr>
  122.         </rule>
  123.         <rule>
  124.             <interface>opt1</interface>
  125.             <protocol>tcp</protocol>
  126.             <source>
  127.                 <any/>
  128.             </source>
  129.             <destination>
  130.                 <address>192.168.1.50</address>
  131.                 <port>80</port>
  132.             </destination>
  133.             <descr>NAT HTTP NAT for LesPaul</descr>
  134.         </rule>
  135.         <rule>
  136.             <type>pass</type>
  137.             <interface>opt1</interface>
  138.             <source>
  139.                 <network>lan</network>
  140.             </source>
  141.             <destination>
  142.                 <network>opt1</network>
  143.             </destination>
  144.             <descr/>
  145.         </rule>
  146.         <rule>
  147.             <type>pass</type>
  148.             <descr>Default LAN -&gt; any</descr>
  149.             <interface>lan</interface>
  150.             <source>
  151.                 <network>lan</network>
  152.             </source>
  153.             <destination>
  154.                 <any/>
  155.             </destination>
  156.         </rule>
  157.         <rule>
  158.             <type>pass</type>
  159.             <descr>Default IPsec VPN</descr>
  160.             <interface>ipsec</interface>
  161.             <source>
  162.                 <any/>
  163.             </source>
  164.             <destination>
  165.                 <any/>
  166.             </destination>
  167.         </rule>
  168.     </filter>
  169.     <shaper/>
  170.     <ipsec/>
  171.     <aliases/>
  172.     <proxyarp/>
  173.     <wol/>
  174. </m0n0wall>
Advertisement
Add Comment
Please, Sign In to add comment