Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Telnet From Wan

  1. #1

    Telnet From Wan

    Hi,

    i can't access to my wl500gx by telnet from WAN.
    it works from LAN, and i have added a rule in NAT Setting - Virtual server with port 23 to 192.168.1.1 on TCP, but telnet fails ...

    semebody have an idea ?

    thanks

  2. #2
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    what IP are you telnetting from WAN ?
    192.168.1.1 ? if yes, better try you 'real' Internet IP adress (the one your ISP gives you). If no, I've no idea...

    JF

  3. #3
    i try my external address IP

  4. #4
    somebody can help me to know why i can't access to my router by Telnet via Internet ?
    i've open port in NAT setting, but telnet works only on LAN (with External IP address)

  5. #5
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You need to enable Web admin WAN access if you want to have telnet to be WAN enabled. Alternatively you could modify post-firewall.
    Anyway, enabling telnet WAN access is VERY risky, as password could be snooped in transit.

  6. #6
    Hi,

    i have enable http WAN access (port 8080)
    i may enable other function to make WAN admin ?

    i want to access to my routeur by telnet to wake one PC on My LAN, and the only way i have found is to launch a wakelan program on my wl500gx

    thanks

  7. #7
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    The right way is using ssh instead.

  8. #8
    i have activated the SSH, and from LAN i use putty, but from WAN it doesn't works

  9. #9
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    sure, you need to read info on my page and create post-firewall file.

  10. #10
    my post-firewall is :

    [admin@dhcppc0 sbin]$ more post-firewall
    #!/bin/sh
    iptables -D INPUT -j DROP
    iptables -A INPUT -p tcp --dport 80 -j ACCEPT
    iptables -A INPUT -p tcp --dport 81 -j ACCEPT
    iptables -t nat -A PREROUTING -i eth0 tcp --dport 80 -j DNAT --to-destination 192.168.1.1:81
    # deny ftp access from WAN
    # iptables -D INPUT -p tcp -m tcp -d "$2" --dport 21 -j ACCEPT
    # Allow access to ssh server from WAN
    iptables -A INPUT -p tcp --dport 22 -j ACCEPT
    iptables -t nat -A PREROUTING -i eth0 tcp --dport 22 -j DNAT --to-destination 192.168.1.1:22
    iptables -A INPUT -j DROP
    Last edited by mao44; 18-05-2005 at 09:10.

  11. #11
    but it doesn't work anymore ... 8-((

    my iptables :
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    DROP all -- anywhere anywhere state INVALID
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT all -- anywhere anywhere state NEW
    ACCEPT all -- anywhere anywhere state NEW
    ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
    ACCEPT tcp -- anywhere anywhere tcp dpt:www
    ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
    ACCEPT tcp -- anywhere anywhere tcp dpt:www
    ACCEPT tcp -- anywhere anywhere tcp dpt:81
    ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
    DROP all -- anywhere anywhere
    Last edited by mao44; 18-05-2005 at 09:25.

  12. #12
    Well, as long as the ssh-server is running on the router you don't need to set up a virtual server, you just need to accept packets in the input table.
    So try again without the nat PREROUTING line.

    S.

  13. #13
    i've the same pb without the PREROUTING line ...

  14. #14
    Ok.
    1. How do you test? Do you try to access from LAN using external ip, or do you try from another network?
    2. Do you have something like a ADSL modem in front of router? Is it possible that your ISP is blocking ports?

    You can try a service like shieldsup (use google to find), to test open, closed and stealth ports.

    S.

  15. #15
    i try with an other network
    i have effectively an ADSL Modem in front of the router
    i 'll try shieldsup ...

Page 1 of 2 12 LastLast

Similar Threads

  1. How to telnet
    By Softy in forum WL-500g Q&A
    Replies: 4
    Last Post: 30-05-2005, 15:49
  2. Telnet
    By dejay in forum WL-500g Q&A
    Replies: 2
    Last Post: 06-05-2005, 18:53
  3. How to telnet WL-500gx
    By ron in forum WL-500g Q&A
    Replies: 1
    Last Post: 10-03-2005, 14:23
  4. Telnet on another port
    By IceTIceT in forum WL-500g Q&A
    Replies: 4
    Last Post: 15-02-2005, 16:25
  5. Telnet to wl-500g
    By Phantome in forum WL-500g Q&A
    Replies: 3
    Last Post: 09-12-2003, 11:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •