Results 1 to 3 of 3

Thread: iptables to port forward to a server

  1. #1

    iptables to port forward to a server

    I have a server in my lan that I have set up as a file server and torrent server.

    I have a html ui for the torrent on port 6886 that I want to make available externally.

    I tried adding this to the post-firewall, but it's still not viewable externally:

    iptables -I FORWARD -p tcp --dport 6886 -j ACCEPT
    iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 6886 -j DNAT --to-destination 192.168.1.220
    Any ideas why this didn't work?

  2. #2
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    just add it to a virtual server in the web-IF

    otherwise add to post-firewall only:

    iptables -t nat -A PREROUTING -d $2 -p tcp -m tcp --dport 6886 -j DNAT --to-destination 192.168.1.220:6886

  3. #3
    i've tried adding it in the normal webui, and it comes up as a blank page.

    It even prompts me for the username/password like it should. But once I submit that, just a blank page.

    How does one diagnose this?

    BTW - it's azuerus with the webui in a headless configuration.
    Last edited by oggie; 07-02-2008 at 17:57.

Similar Threads

  1. Open port with iptables
    By zebs in forum WL-500gP Q&A
    Replies: 0
    Last Post: 20-11-2007, 19:51
  2. WL-500gx WAN & LAN Filter example
    By pshah in forum WL-500g Q&A
    Replies: 1
    Last Post: 24-09-2005, 13:50
  3. Firmware v1.8.1.7 CR2 [Oleg] - updated ( CR2a )
    By Oleg in forum WL-500g Firmware Releases
    Replies: 69
    Last Post: 08-12-2004, 10:01

Posting Permissions

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