Sitter 3Com prylar överallt. (NIC, switch). ISP = BBB
Droppandet sker bara med Linuxburken så hubdatorn kan inte vara fel på. Den har också 3Com och kör YnHub ifall ni verkligen vill veta.
Här kommer iptables
#!/bin/sh
iptables -t nat -F PREROUTING
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -p tcp --dport 21 -i eth1 -j DNAT --to-destination 192.168.0.2
iptables -t nat -A PREROUTING -p tcp --dport 2199 -i eth1 -j DNAT --to-destination 192.168.0.7
iptables -t nat -A PREROUTING -p tcp --dport 27015 -i eth1 -j DNAT --to-destination 192.168.0.5
iptables -t nat -A PREROUTING -p udp --dport 27015 -i eth1 -j DNAT --to-destination 192.168.0.5
iptables -t nat -A PREROUTING -p tcp --dport 1337 -i eth1 -j DNAT --to-destination 192.168.0.5
iptables -t nat -A PREROUTING -p udp --dport 1337 -i eth1 -j DNAT --to-destination 192.168.0.5
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 32000:32100 -j DNAT --to-destination 192.168.0.2
iptables -t nat -A PREROUTING -p tcp --dport 3389 -i eth1 -j DNAT --to-destination 192.168.0.5
iptables -A INPUT -p 25 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 137 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p udp --dport 137 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 138 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p udp --dport 138 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 139 -j DROP
iptables -t nat -I PREROUTING -i eth1 -p udp --dport 139 -j DROP
PS: Vad är SBS ?