Martin wrote:
> Hej alle,
>
> jeg har lidt problemer i forbindelse med at skulle hoste et spil over
> nettet. Jeg skal have ført min indkommende trafik ind på en specifik port
> men kan skudde (læses med tyk vestjysk accent) få det til at passe....
http://www.cisco.com/warp/public/cc/pd/iosw/ioft/ionetn/prodlit/1195_pp.htm
'Static translations with ports:
When translating addresses to an interface's address, outside-initiated
connections to services on the inside network (like mail) will require
additional configuration to send the connection to the correct inside
host. This command allows the user to map certain services to certain
inside hosts.
ip nat inside source static { tcp | udp } <localaddr> <localport>
<globaladdr> <globalport>
Example:
ip nat inside source static tcp 192.168.10.1 25 171.69.232.209 25
In this example, outside-initiated connections to the SMTP port (25)
will be sent to the inside host 192.168.10.1.'
Jeg har lavet flg to linier i enable mode for at kunne nå min sshd og
webserver udefra.
ip nat inside source static tcp 192.168.1.3 80 interface Dialer0 80
ip nat inside source static tcp 192.168.1.3 22 interface Dialer0 22
/tommy