Dns Server Inside A Lan
[HTML]
<body> <pre> ********* ** INTERNET ** ** ** ********* \ \ \ _____ |_____| DSL MODEM \ \ switch \ __ _______ | | Server (static IP from DSL) |0 0 0 0|-------| | (Gateway) / _______ |__| 192.168.0.1 / \ __/ \__ | | | | | | | | |__| |__| PC1 PC2 (DNS Server) 192.168.0.2 192.168.0.3 </pre> How can I make PC2 a DNS Server available to the Internet? Thanks. </body> [/HTML] |
iptables
I prefer iptables
Use port forwarding and NATing |
Thanks...
but port forwarding in PC2 or in the server? |
You want to use port forwarding on the server to send all inbound DNS traffic to PC2.
|
Ok thanks a lot...
Will try to figure out how to do that. thanks centauricw & hhvv :) |
what you need is prerouting rule in iptables.
Code:
EXT_IF=eth0 there is examples at the end and all knowledge you need to do your firewall |
All times are GMT -5. The time now is 08:46 PM. |