Re: PF rdr question

2009-09-23 Thread Ari Constancio
On Wed, Sep 23, 2009 at 5:59 PM, Matthew Young wrote: > Hello, > > Ive been trying to do redirection , this time with a very minimal procedure > as follows. > > > # cat > /etc/pf.conf > > t_externa = "re0" > server = 208.99.249.95 > rdr on $t_externa proto tcp from any to any port 80 -> $server >

PF rdr question

2009-09-23 Thread Matthew Young
Hello, Ive been trying to do redirection , this time with a very minimal procedure as follows. # cat /etc/pf.conf t_externa = "re0" server = 208.99.249.95 rdr on $t_externa proto tcp from any to any port 80 -> $server # cat /etc/sysctl.conf net.inet.ip.forwarding=1 net.inet6.ip6.forwarding=1

Re: RDR question

2008-04-14 Thread Dorian Büttner
Monah Baki schrieb: rdr on $ext_if proto tcp from 192.168.2.0/24 to any port 80 -> \ 127.0.0.1 port 5000 You changed the 'to'-part from 'to $ext_if' to 'to any', yes, but you also modified the 'rdr on' device to $ext_if. Why not leave it $int_if as before? Should work here?

Re: RDR question

2008-04-13 Thread Monah Baki
Hi, It did not work, I get a blank page on all URL's. Here's my pf.conf real basic. ext_if="sis0" int_if="sis1" #table persist set skip on lo #scrub in nat-anchor "ftp-proxy/*" rdr-anchor "ftp-proxy/*" #rdr-anchor "relayd/*" nat on $ext_if from $int_if:network to any -> $ext_if # rdr pass o

Re: RDR question

2008-04-13 Thread Dorian Büttner
Monah Baki schrieb: rdr on $int_if proto tcp from $int_net to $ext_if port 80 -> \ 127.0.0.1 port 5000 unless you host the unwanted sites on $ext_if, you may try "to any" instead and let us know?

RDR question

2008-04-13 Thread Monah Baki
Hi all, I'm running OpenBSD on a soekris box 4.3 current. sis0=192.168.3.32 sis1=192.168.2.1 I have a proxy server IP address 192.168.3.106 I want a rule to have all users on the .2 network to go thru the proxy. Tried the following in /etc/inetd.conf 127.0.0.1:5000 stream tcp nowait nobo

[Fwd: Re: rdr question]

2008-02-14 Thread Imre Oolberg
riginal Message ---- Subject: Re: rdr question Date: Thu, 14 Feb 2008 21:34:29 +0200 From: Imre Oolberg <[EMAIL PROTECTED]> To: misc@openbsd.org References: <[EMAIL PROTECTED]> Hi! I wanted to add to this topic that it also possible to make world see your caches' src ip aadresses

Re: rdr question

2008-02-14 Thread Imre Oolberg
Hi! I wanted to add to this topic that it also possible to make world see your caches' src ip aadresses separately adding couple of nat rules this doest conflict with other things in your setup nat on $ext_if inet proto tcp from 192.168.3.105 to any port 80 -> y.y.y.y nat on $ext_if inet prot

Re: rdr question

2008-02-14 Thread scott
-Original Message- From: Monah Baki <[EMAIL PROTECTED]> To: misc@openbsd.org Subject: rdr question Date: Thu, 14 Feb 2008 08:24:35 -0500 (EST) ext_if="sis0" rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 port 8080 rdr pass on x.x.x.x proto tcp to port 8080 -> 192.168.3.106 port 8080

Re: rdr question

2008-02-14 Thread Monah Baki
Thank you, it worked > Hi, > > Monah Baki schrieb: >> rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 port 8080 >> rdr pass on x.x.x.x proto tcp to port 8080 -> 192.168.3.106 port 8080 >> >>>From outside my network if I enter in my browser "proxy setting" x.x.x.x >> 8080 which is the

Re: rdr question

2008-02-14 Thread Fred Crowson
Monah Baki wrote: Hi all, I have a soekris box and I configured sis0 with 2 public IP addresses (one of them an alias) I have 2 squid servers internally with private IP's (192.168.3.105 & 192.168.3.106). My pf.conf is ext_if="sis0" rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 p

Re: rdr question

2008-02-14 Thread Michael
Hi, Monah Baki schrieb: > rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 port 8080 > rdr pass on x.x.x.x proto tcp to port 8080 -> 192.168.3.106 port 8080 > >>From outside my network if I enter in my browser "proxy setting" x.x.x.x > 8080 which is the alias, I get redirected to the p

rdr question

2008-02-14 Thread Monah Baki
Hi all, I have a soekris box and I configured sis0 with 2 public IP addresses (one of them an alias) I have 2 squid servers internally with private IP's (192.168.3.105 & 192.168.3.106). My pf.conf is ext_if="sis0" rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 port 8080 rdr pass on

Re: rdr question

2005-07-27 Thread Mark Prins
Stuart Henderson scribbled on : > --On 27 July 2005 00:27 +0200, GV wrote: >> In general I would like to have one static IP where more than one >> domains are registered and for each domain a different internal web >> server should serve the incoming requests! > > No, you need some kind of 'r

Re: rdr question

2005-07-26 Thread Stuart Henderson
--On 27 July 2005 00:27 +0200, GV wrote: is it possible to have the following: rdr on $ext_if proto tcp from any to any port 80 -> $server re-written as: rdr on $ext_if proto tcp from any to domain.com port 80 -> $server where "$server" an internal web server and "domain.com" a specific doma

rdr question

2005-07-26 Thread GV
Hi list, is it possible to have the following: rdr on $ext_if proto tcp from any to any port 80 -> $server re-written as: rdr on $ext_if proto tcp from any to domain.com port 80 -> $server where "$server" an internal web server and "domain.com" a specific domain name? In general I would like