Ubiquiti RouterStation: Unterschied zwischen den Versionen

Aus Opennet
Wechseln zu: Navigation, Suche
(Konfigurstionsdateien)
Zeile 8: Zeile 8:
  
 
Hinweise siehe http://wiki.ubnt.com/wiki/index.php/RouterStation_OpenWRT_SW_Setup_Guide
 
Hinweise siehe http://wiki.ubnt.com/wiki/index.php/RouterStation_OpenWRT_SW_Setup_Guide
 +
 +
=== Opennet Router ===
 +
 +
* /etc/config/network
 +
config 'interface' 'loopback'
 +
    option 'ifname' 'lo'
 +
    option 'proto' 'static'
 +
    option 'ipaddr' '127.0.0.1'
 +
    option 'netmask' '255.0.0.0'
 +
config 'interface' 'wan'
 +
    option 'ifname' 'eth0'
 +
    option 'proto' 'dhcp'
 +
config 'interface' 'lan'
 +
    option 'ifname' 'eth1'   
 +
    option 'proto' 'static'
 +
    option 'ipaddr' '172.16.0.1'
 +
        option 'netmask' '255.255.255.0'
 +
* /etc/config/firewall
 +
config defaults
 +
    option syn_flood 1
 +
    option input ACCEPT
 +
    option output ACCEPT
 +
    option forward ACCEPT
 +
config zone
 +
    option name lan
 +
    option input ACCEPT
 +
    option output ACCEPT
 +
    option forward ACCEPT
 +
config zone
 +
    option name wan
 +
    option input REJECT
 +
    option output ACCEPT
 +
    option forward REJECT
 +
    option masq 1
 +
config forwarding
 +
    option src      lan
 +
    option dest    wan
 +
    option mtu_fix 1
 +
config include
 +
    option path /etc/firewall.user

Version vom 23. August 2009, 21:43 Uhr

MIPS Wireless Router Boards, siehe http://wiki.ubnt.com/wiki/index.php/RouterStation

Inhaltsverzeichnis

Überblick

Hardware

Erstinstallation

Hinweise siehe http://wiki.ubnt.com/wiki/index.php/RouterStation_OpenWRT_SW_Setup_Guide

Opennet Router

  • /etc/config/network
config 'interface' 'loopback'
   option 'ifname' 'lo'
   option 'proto' 'static'
   option 'ipaddr' '127.0.0.1'
   option 'netmask' '255.0.0.0'
config 'interface' 'wan'
   option 'ifname' 'eth0'
   option 'proto' 'dhcp'
config 'interface' 'lan'
   option 'ifname' 'eth1'     
   option 'proto' 'static'
   option 'ipaddr' '172.16.0.1'
       option 'netmask' '255.255.255.0'
  • /etc/config/firewall
config defaults
   option syn_flood	1
   option input	ACCEPT
   option output	ACCEPT 
   option forward	ACCEPT
config zone
   option name	lan
   option input	ACCEPT 
   option output	ACCEPT 
   option forward 	ACCEPT
config zone
   option name	wan
   option input	REJECT
   option output	ACCEPT 
   option forward	REJECT
   option masq	1 
config forwarding 
   option src      lan
   option dest     wan
   option mtu_fix	1
config include
   option path /etc/firewall.user
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge