Displaying 2 results from an estimated 2 matches for "tcpfin".
Did you mean:
tcp_in
2001 May 17
1
tinc fails because of firewall script
...ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
Here is a secure firewall 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 interfa...
2001 May 24
0
ipchains
...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 -P input REJECT
# local interface, local machines, going anywhere is valid
/sbin/ipchains -A input -i $in...