Routing incoming ppp0
Sponsored Links
Routing incoming ppp0 Ranking & Summary
File size:
MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
992
Date added:
2007-02-14
Publisher:
www.wtf.dk
Routing incoming ppp0 description
Routing incoming ppp0 is a netfilter firewall.
Sample:
#!/bin/bash
# Load required modules
insmod ip_tables
insmod ip_conntrack
insmod iptable_nat
insmod ipt_MASQUERADE
# Then flush all rules
iptables -F
iptables -t nat -F
# In the NAT table (-t nat), Append a rule (-A) after routing
# (POSTROUTING) for all packets going out ppp0 (-o ppp0) which says to
# MASQUERADE the connection (-j MASQUERADE).
#iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
# Below means route 192.168.1.x
iptables -t nat -A POSTROUTING -d ! 192.168.1.0/24 -j MASQUERADE
iptables -A FORWARD -s 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -d 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -s ! 192.168.1.0/24 -j DROP
# Disallow NEW and INVALID incoming or forwarded packets from ppp0.
#iptables -A INPUT -i ppp0 -m state --state NEW,INVALID -j DROP
#iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j DROP
# port 113 is evil ;)
iptables -A INPUT --protocol udp --source-port 113 -j DROP
iptables -A INPUT --protocol udp --destination-port 113 -j DROP
# Turn on IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
#iptables -A INPUT --protocol udp --source-port 113 -j DROP
# Route incoming ppp0 at port 80, to 192.168.1.18:80
iptables -A PREROUTING -t nat -p tcp -i ppp0 --dport 80 -j DNAT --to 192.168.1.18:80
# Route incoming ppp0 at port 21, to 192.168.1.18:21
iptables -A PREROUTING -t nat -p tcp -i ppp0 --dport 21 -j DNAT --to 192.168.1.18:21
Sample:
#!/bin/bash
# Load required modules
insmod ip_tables
insmod ip_conntrack
insmod iptable_nat
insmod ipt_MASQUERADE
# Then flush all rules
iptables -F
iptables -t nat -F
# In the NAT table (-t nat), Append a rule (-A) after routing
# (POSTROUTING) for all packets going out ppp0 (-o ppp0) which says to
# MASQUERADE the connection (-j MASQUERADE).
#iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
# Below means route 192.168.1.x
iptables -t nat -A POSTROUTING -d ! 192.168.1.0/24 -j MASQUERADE
iptables -A FORWARD -s 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -d 192.168.1.0/24 -j ACCEPT
iptables -A FORWARD -s ! 192.168.1.0/24 -j DROP
# Disallow NEW and INVALID incoming or forwarded packets from ppp0.
#iptables -A INPUT -i ppp0 -m state --state NEW,INVALID -j DROP
#iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j DROP
# port 113 is evil ;)
iptables -A INPUT --protocol udp --source-port 113 -j DROP
iptables -A INPUT --protocol udp --destination-port 113 -j DROP
# Turn on IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
#iptables -A INPUT --protocol udp --source-port 113 -j DROP
# Route incoming ppp0 at port 80, to 192.168.1.18:80
iptables -A PREROUTING -t nat -p tcp -i ppp0 --dport 80 -j DNAT --to 192.168.1.18:80
# Route incoming ppp0 at port 21, to 192.168.1.18:21
iptables -A PREROUTING -t nat -p tcp -i ppp0 --dport 21 -j DNAT --to 192.168.1.18:21
Routing incoming ppp0 Screenshot
Routing incoming ppp0 Keywords
DROP
MASQUERADE
FORWARD
INPUT
INVALID
NEW
netfilter firewall
incoming
Iptables
-J
routing
nat
-T
Routing incoming ppp0
Routing incoming ppp0
Networking
Bookmark Routing incoming ppp0
Routing incoming ppp0 Copyright
WareSeeker periodically updates pricing and software information of Routing incoming ppp0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Routing incoming ppp0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
routing numbers
incoming server
linux iptables
bank routing numbers
incoming mail
routing tool
iptables tutorial
routing number
incoming mail server
incoming mail server for hotmail
routing number verification
yahoo incoming mail server
check routing number
iptables firewall
iptables example
incoming artillery
bank routing number
routing wood
Related Software
UTIN Firewall script project is a script for Linux 2.4.x and iptables. Free Download
allows you to accept BitWise connections to multiple computers behind a router. Free Download
BitWise Routing Server allows multiple PCs behind a router to make direct connections. Free Download
Pyroman is a flexible and fast firewall tool. Free Download
Internet Registry Routing Daemon (IRRd) is a freely available, stand-alone Internet Routing Registry database server. Free Download
Run a web server inside LAN is a simple script to run a WWW server inside a Local Area Network. Free Download
NATting SOHO firewall is a firewall script for iptables. Free Download
moltiblock is a user-space plugin to netfilter for blocking lots of nets. Free Download
Latest Software
Popular Software
Favourite Software