iptables help - OpenSuse 11.3

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Damonc

Damon
Thread Starter
Joined
May 9, 2001
Messages
663
Hi.. wondering if someone can give me a hand.. I'm almost at the point of pulling my hair out..


I've got a linux box running opensuse 11.3 acting as a transparent proxy/dhcp server.. http access is all good. Now I know that you can't route https traffic through the proxy, but what I've been trying to do is just pass any traffic with a destination port of 443 straight on to the modem.. but no luck.

This is what my iptables file looks like at the moment..

Code:
# Generated by iptables-save v1.4.4 on Wed Jan  5 22:21:19 2011
*filter
:INPUT ACCEPT [904:194295]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [943:218361]
-A FORWARD -s 192.168.0.0/32 -p tcp -m tcp --dport 443 -j ACCEPT
COMMIT
# Completed on Wed Jan  5 22:21:19 2011
# Generated by iptables-save v1.4.4 on Wed Jan  5 22:21:19 2011
*nat
:PREROUTING ACCEPT [735:46204]
:POSTROUTING ACCEPT [27:1801]
:OUTPUT ACCEPT [27:1801]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.254:$
-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A PREROUTING -p tcp -m tcp --dport 443 -j DNAT --to-destination 192.168.0.1:443
COMMIT
# Completed on Wed Jan  5 22:21:19 2011
# Generated by iptables-save v1.4.4 on Wed Jan  5 22:21:19 2011
*mangle
:PREROUTING ACCEPT [1638:239479]
:INPUT ACCEPT [904:194295]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [945:218465]
:POSTROUTING ACCEPT [945:218465]
COMMIT
# Completed on Wed Jan  5 22:21:19 2011
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top