Please open attach file.
In B server instaled ftp server.
In A server installed Linux box and installed dns and iptables.
I have configured dns server, local domain named intranet
$TTL 604800
@ IN SOA intranet. root.intranet. (
41 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS intranet.
@ IN A 10.10.0.10
site IN A 10.10.0.10
iptables
iptables -t nat -A PREROUTING -p tcp -i eth1 -d 10.10.0.10 --dport 21 -j DNAT --to-destination 192.168.0.2
clients Primary DNS server 10.10.0.10
Question?
When clients type ftp site.intranet they are not redirecting to 192.168.0.2.
What's problem here?
Please help me.
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Please open attach file.
In B server instaled ftp server.
In A server installed Linux box and installed dns and iptables.
I have configured dns server, local domain named intranet
$TTL 604800
@ IN SOA intranet. root.intranet. (
41 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS intranet.
@ IN A 10.10.0.10
site IN A 10.10.0.10
iptables
iptables -t nat -A PREROUTING -p tcp -i eth1 -d 10.10.0.10 --dport 21 -j DNAT --to-destination 192.168.0.2
clients Primary DNS server 10.10.0.10
Question?
When clients type ftp site.intranet they are not redirecting to 192.168.0.2.
What's problem here?
Please help me.