Displaying 3 results from an estimated 3 matches for "unprivport".
Did you mean:
unprivports
2007 Mar 09
2
Mark on FTP passive traffic
...he
external interfaces. The rules are the same ones for the three external
interfaces.
# global rule for all traffic
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
# FTP rule
iptables -A FORWARD -i $INTERNAL_INTERFACE -o $EXTERNAL_INTERFACE1 -p
tcp -s $INTERNAL_LAN --sport $UNPRIVPORTS --dport 21 -m state --state
NEW -j ACCEPT
iptables -A OUTPUT -o $EXTERNAL_INTERFACE1 -p tcp -s $EXTERNAL_IP1
--sport $UNPRIVPORTS --dport 21 -m state --state NEW -j ACCEPT
# FTP mark
iptables -t mangle -A FORWARD -o $EXTERNAL_INTERFACE1 -p tcp --dport 21
-j MARK --set-mark 0x21
iptables -t m...
2006 Dec 18
2
creating script for init.d
Hello.
I'm moving from a very old Fedora Core 1 to CentOS 4.4, what a change!!
Three year ago, I wrote some script (network related) and worked very well.
Now, I can put into init.d by means of chkconfig and I restarted the system,
but always hang when executing my srcipt (in my new centos 4.4).
There a manual for making scripts for init.d?
there is some new requirement by which it does not
2005 Jan 14
1
iproute2 + netfilter problem
Hi guys, i have a problem with a configuration what i''m trying to do.
I have two computers with linux, A and B, connected in the same network with this configuration:
PC1 A: 192.168.192.1
PC2 B: 192.168.192.30
The PC1 A is a firewall doing nat... this one is connected to the internet via an adsl modem and of course it have its own public ip , and the router B is a smtp server but