Results 1 to 3 of 3

Thread: HOWTO: Simple port forwarding for Web / lighttpd

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Location
    Cph, Denmark
    Posts
    38

    HOWTO: Simple port forwarding for Web / lighttpd

    Im running lighttpd at a custom port and i want to forward port 80 to that port so my custom webserver handles all http requests

    Code:
    # iptables -I INPUT -p tcp --dport 80 -j ACCEPT
    # iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j DNAT --to [ROUTER LOCAL IP]:[CUSTOM PORT]
    Last edited by clausbruun; 22-02-2007 at 18:27. Reason: Improved it

Similar Threads

  1. Replies: 3
    Last Post: 01-11-2014, 13:16
  2. Forwarding port 80 --> 8081????
    By sollie in forum WL-700g Firmware Discussion
    Replies: 4
    Last Post: 09-11-2007, 00:23
  3. Problems with port forwarding
    By User007 in forum WL-500g Q&A
    Replies: 0
    Last Post: 04-08-2006, 16:53
  4. Need help with Wl500g and port forwarding
    By ikir in forum WL-500g Q&A
    Replies: 0
    Last Post: 28-01-2006, 13:58
  5. Firmware v1.9.2.7 CR1 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 53
    Last Post: 13-04-2005, 23:26

Posting Permissions

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