Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 1 of 1
  1. #1
    Status
    Offline
    pathic's Avatar
    Baru Gabung
    Join Date
    Apr 2008
    Posts
    18
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Question Gimana cara set iptables jika squid proxy diatas mikrotik ?

    Inet--modem--squidproxy--mikrotik--switch--client

    10.0.0.2 -- 10.0.0.3 -- 192.168.100.1 -- 192.168.100.2 -- 192.168.3.253/24 -- 192.168.3.30 - 100

    di proxy sementara ini iptables di masquerade all

    di mikrotik

    /ip ip firewall nat add chain=srcnat out-interface=to_adsl src-address-list=LAN action=masquerade disabled=no

    kalo saya pasang script di proxy
    #iptables -A PREROUTING -t nat -p tcp -s 192.168.100.0/24 -i eth0 -d ! 192.168.100.0/24 --dport 80 -j REDIRECT --to 8080
    atau
    #iptables -A PREROUTING -t nat -p tcp -s 192.168.100.0/24 -i eth1 -d ! 192.168.100.0/24 --dport 80 -j REDIRECT --to 8080

    tuh client pada nggak bisa konek. knp yah ? bantuin dong !

    Click here to enlarge


    maaf nggak jadi wa dah dapet script iptables nya !

    iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 80 -j REDIRECT --to 8080

    makasih yah !
    Last edited by pathic; 23-06-2008 at 12:37.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 78
    Last Post: 26-10-2010, 11:48
  2. Replies: 40
    Last Post: 23-02-2010, 15:27
  3. Gimana cara install web-proxy
    By armen_meliala in forum Beginner Basics
    Replies: 9
    Last Post: 17-02-2010, 14:38
  4. cara gabungin squid dgn mikrotik
    By rhon in forum General Networking
    Replies: 3
    Last Post: 18-05-2008, 23:49
  5. Gimana cara setting hotspot di mikrotik
    By hen2drx in forum General Networking
    Replies: 3
    Last Post: 25-11-2007, 03:20

Posting Permissions

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