Prosim o radu. Mam Ubuntu jako router pripojeny na net za nimz mam stanice s WIN XP. Routovani resim pres firehol. Potreboval bych poradit, jak mam presmerovat port 3389 a 3350 na stanici s IP 192.168.1.52 pres forehol, abych mohl pouzivat vzdaleno plochu a jeste jine aplikace bezicich na XP z venku.
Vypis firehol.conf:
#
# $Id: client-all.conf,v 1.2 2002/12/31 15:44:34 ktsaou Exp $
#
# This configuration file will allow all requests originating from the
# local machine to be send through all network interfaces.
#
# No requests are allowed to come from the network. The host will be
# completely stealthed! It will not respond to anything, and it will
# not be pingable, although it will be able to originate anything
# (even pings to other hosts).
#
version 5
# Accept all client traffic on any interface
# interface any world
# client all accept
DEFAULT_CLIENT_PORTS="1024:65535"
FIREHOL_NAT="1"
server_icq_ports="tcp/5190"
client_icq_ports="default"
interface eth1 internal
protection strong 10/sec 10
policy drop
server dns accept
server netbios_ns accept
server netbios_dgm accept
server netbios_ssn accept
server samba accept
server squid accept
server icmp accept
server ping accept
server http accept
client all accept
interface eth0 external
protection strong 10/sec 10
policy drop
server icmp accept
server ping accept
server ssh accept
client dns accept
client icmp accept
client ping accept
client telnet accept
client http accept
client https accept
client ftp accept
client ntp accept
client ssh accept
client icq accept
client jabber accept
client webcache accept
router internal2external inface eth1 outface eth0
masquerade
route all accept
Zkousel jsem pridat routovani primo pres iptables
iptables -t nat -A PREROUTING -i eth0 -p tcp -d ve.rejna.ad.resa --dport 3389 -j DNAT --to 192.168.1.52:3389
iptables -t nat -A PREROUTING -i eth0 -p tcp -d ve.rejna.ad.resa --dport 3050 -j DNAT --to 192.168.1.52:3050
taky jsem zkousel
nat to-destination 192.168.1.52 proto tcp dport 3389
nat to-destination 192.168.1.52 proto tcp dport 3050
firehol sice restartuje bez problemu, vzdalena sprava ovsem nefunguje. Nevim jestli je nutne jeste neco nekde nastavit. Diky za pomoc.