Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860
Konfiguration anpassen - t-hack.com - Hack X300T / X301T

Konfiguration anpassen

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search
(base.txt)
(base.txt)
Line 25: Line 25:
 
                                 # netmask in CIDR (no. of set bits)
 
                                 # netmask in CIDR (no. of set bits)
 
  IP_NET_2_DEV='eth2'            # required: device name like ethX
 
  IP_NET_2_DEV='eth2'            # required: device name like ethX
 +
<br>
 +
2.Auszug:<br>
 +
  #--------------------------------------------------------------------------
 +
    # Known networks - Networks which are allowed to pass the packet
 +
    # filter (additional restrictions may be applied via black/white
 +
    # lists, port based filters, port forwarding opens additional holes, ...)
 +
    #--------------------------------------------------------------------------
 +
    MASQ_NETWORK='IP_NET_1,IP_NET_2'    # networks to masquerade (e.g. our LAN)
 +
    ROUTE_NETWORK=''          # same as masq_network, but packets
 +
<br>
 +
3.Auszug:<br>
 +
    PF_INPUT_N='3'
 +
    PF_INPUT_1='IP_NET_1 ACCEPT'        # allow all hosts in the local
 +
    PF_INPUT_2='IP_NET_2 ACCEPT'                                    # network access to the router
 +
    PF_INPUT_3='any 224.0.0.0/4 ACCEPT'
 +
<br>
 +
4.Auszug:<br>
 +
 
 +
                                          # otherwise drop packet
 +
PF_FORWARD_N='4'
 +
PF_FORWARD_1='tmpl:samba DROP'      # drop samba traffic if it tries
 +
                                        # to leave the subnet
 +
PF_FORWARD_2='IP_NET_1 ACCEPT'      # accept everything else
 +
PF_FORWARD_3='IP_NET_2 ACCEPT'
 +
PF_FORWARD_4='any 224.0.0.0/4 ACCEPT'      # accept everything else
 +
PF_POSTROUTING_N='2'
 +
PF_POSTROUTING_1='IP_NET_1 MASQUERADE'  # masquerade traffic leaving
 +
PF_POSTROUTING_2='IP_NET_2 MASQUERADE'                                        # the subnet
  
 
== dsl.txt ==
 
== dsl.txt ==

Revision as of 20:49, 24 April 2008

Personal tools