can we combine firewall with NAT how testing can be done?
my server is going to be co-location.
I have a firwall using iptables. and I have searched goggle with NAT, it came up with this NAT?
can we combine firewall with NAT?
my current situation are as follows:
1. 1000M bps planet external card ( 192.168.1.28 for testing under boardband env. )
2. 100m bps 3com internal ( not configure yet) just sitting in PCI slot.
3. current apache setting is private IP based
I think I need the following to let these services to go through
do u think and how can these the two NIC in broad band enviroment?
Other services go to DMZ 192.168.1.10 which does not exist.
??? put the script to rc.local , am I right?
# 18 th may 2002
eth0="real ip here" - external side
# eth1 - Internet side
# NAT for internal network
iptables -t nat -A POSTROUTING -s 192.168.1.199/24 -o eth1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
iptables -A FORWARD -o eth0 -j ACCEPT
# Configure NAT
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 21 -j DNAT --to
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 22 -j DNAT --to
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 23 -j DNAT --to
wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
first I must revise C program thro' example, what's next?