User Tools

Site Tools


docs:tips_n_tricks:tomato.html

This is an old revision of the document!


Tomato

Using TomatoUSB as NATting router

This was tried with TomatoUSB v1.281) on a Netgear N3002)

The need to have a natting router came from that damn O2 Homebox 6641 which apparently does not allow switches connected to its ethernetport. Every time I connect more then one device (i.e. Linux Laptop, Mac Laptop, Linux Raspberry Pi) by a simple 1GB home-use HUB/Switch made by TPLink, all connections were interrupted until I rebooted that silly thing.

  • Reset to factory
  • In Basic→Network configure WAN
    • I chose to have a static IP
    • Configure connection to DSL-Router, using its subnet.
    • I left “Route Modem IP” to 0,0,0,0
  • Same place (Basic→Network) configure LAN
    • Choose local (internal) IP of your NAT
    • Enable DHCP
    • Configure DHCP range
    • Leave lease time at 1440
    • Leave STP disabled
    • Choose your DSL-Routers' IP for first Static DNS
    • Port need not to be set, if default
  • Same place (Basic→Network) configure Wireless
    • I just disabled it for using it as cable NATting device only
  • Basic→IPv6
    • I set IPv6 Service Type to “disabled”
  • Basic→Identification
    • Set parameters for routers own label, host- and domainname
  • Advanced→DHCP/DNS
    • Enable Use internal DNS
    • Disable Use received DNS with user-entered DNS
    • Disable Announce IPv6 on LAN
  • Advanced→VLAN
    • Leave VLAN 1:
      • VID: 1
      • Ports: 1-4
      • Default
      • Bridge: LAN(br0)
    • Leave VLAN 2:
      • VID: 2
      • Ports: WAN
      • Bridge: WAN
    • Wireless
      • Leave Bridge eth1 to at “LAN(br0”
  • Adminsitration→Admin Access
    • Disable telnet
    • Enter your SSH public key
    • Disable SSH access by password
    • Set your own (non-default) password for web-access

Configure ports on command line

/usr/sbin/robocfg showports
/usr/sbin/robocfg port 4 media 100FD

Caveats

Whenn assinging additional bridges, numbers must be consecutive3), otherwise4) bridges after a gap will not be started!
1)
Tomato Firmware 1.28.0000 MIPSR2-124 K26 USB AIO
3)
i.e. br0,br1,br2
4)
e.g. br0, br3
docs/tips_n_tricks/tomato.html.1530668284.txt.gz · Last modified: 04.07.2018 03:38 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki