Displaying 2 results from an estimated 2 matches for "intint".
Did you mean:
intent
2001 May 17
1
tinc fails because of firewall script
...all script (from Linux Box A) that stops tinc working:
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
# MASQ Timeouts ( 2 hours tcp session, 10 sec tcpfin, 60 sec udp )
ipchains -M -S 7200 10 60
extip="62.1.1.50"
extint="eth1"
intint="eth0"
intnet="192.168.1.0/24"
# Incoming ipchains firewall rules:
# -----------------------------------
/sbin/ipchains -F input
/sbin/ipchains -P input REJECT
# local interface, local machines, going anywhere is valid
/sbin/ipchains -A input -i $intint -s $intnet -d 0.0.0.0/...
2001 May 24
0
ipchains
...s policies to ACCEPT. Pinging works, but I
couldn't get other things to go across the Tinc VPN link. (ftp, etc.)
/etc/rc.d/rc.firewall -->
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
extip="62.49.252.50"
extint="eth1"
intint="eth0"
intnet="192.168.1.0/24"
# MASQ Timeouts ( 2 hours tcp session, 10 sec tcpfin, 60 sec udp )
ipchains -M -S 7200 10 60
# -----------------------------------
# Incoming ipchains firewall rules:
# -----------------------------------
/sbin/ipchains -F input
/sbin/ipchains...