Diskussion:Projekt110

Aus Freifunk Leipzig
Wechseln zu: Navigation, Suche

110-30 Firewall



                                                                                                                                                                                
        ifconfig vlan1:1 192.168.2.130                                                                                                                                               
        iptables -t nat -I POSTROUTING -o vlan1 -d 192.168.2.0/24 -j MASQUERADE                                                                                                      
        iptables -t nat -I PREROUTING -d 104.61.110.30 -p tcp --dport 8022  -j DNAT --to 192.168.2.22:80                                                                             
        iptables -t nat -I PREROUTING -d 104.61.110.30 -p tcp --dport 8032  -j DNAT --to 192.168.2.32:80                                                                             
        iptables -t nat -I PREROUTING -d 104.61.110.30 -p tcp --dport 8052  -j DNAT --to 192.168.2.52:80                                                                             
                                                                                                                                                                                     

110-14

104.61.110.14

in /etc/rc.local

mount /dev/sda /srv (ext4)


--


root@Freifunk-110-14:/tmp# iw list | grep Ante

       Available Antennas: TX 0x3 RX 0x3
       Configured Antennas: TX 0x3 RX 0x3
       Available Antennas: TX 0x3 RX 0x3
       Configured Antennas: TX 0x3 RX 0x3

root@Freifunk-110-14:/tmp# cat sysinfo/* tl-wdr4300 TP-LINK TL-WDR3600/4300/4310


---

vlan1: port 5 unbelegt

vlan2: port 2 (backbone plagwitz)

vlan3: port 1 und 4 (kopplung)

vlan4: port 3 (karlhelga)


eth0.4: 104.61.110.161/8

eth0.3 104.61.110.214/8


wan/eth0.2: 104.61.110.114/8, 192.168.110.110/24

wlan0: 104.61.110.14/8


wlan1: 10.61.99.114/32


ping zu 192.168.110.22 und 192.168.110.61