Mat Branyon <[EMAIL PROTECTED]> writes: You don't need the "in on" in your rdr rules. Just "on" like so: rdr on xl0 proto tcp from any to any port 80 -> 192.168.2.4 port 80
> Sorry, just tells me there is a syntax error. :( > Do you have a rdr set up in your config? > > ne3 is external nic > rl0 is internal nic > suntzu is server > locke is workstation (also does ftp and ssh) > > --mat > > > On Sun, 2003-03-02 at 21:16, John Hebert wrote: >> Can you give me more info on the errors? Maybe some log output? Your pf >> rules look ok to me. >> >> Anybody else have any ideas? >> >> John Hebert >> >> On 02 Mar 2003 18:07:00 -0600, Mat Branyon <[EMAIL PROTECTED]> >> wrote: >> >> > John, I have hit a few. I would have gotten back to you on this >> > earlier, but my email went down, and well, mardi gras in lafayette. I >> > have a problem with my pf.conf file and with recompiling the kernel. I >> > am sure with the kernel, im just missing a few options that im missing >> > (as far as enabling things in the kernel). First things first, >> > pf.conf. I am getting an error on this line: >> > >> > rdr in on ne3 proto tcp from any to ne3 port 80 -> suntzu port 80 >> > >> > >> > and the lines around it are >> > >> > >> > # Pass HTTP SSH FTP and others to respective machines >> > >> > rdr in on ne3 proto tcp from any to ne3 port 80 -> suntzu port 80 >> > rdr in on ne3 proto tcp from any to rl0 port 20 -> 10.0.0.10 port 20 >> > flags S/SA >> > keep state >> > rdr in on ne3 proto tcp from any to rl0 port 21 -> 10.0.0.10 port 21 >> > flags S/SA >> > keep state >> > rdr in on ne3 proto tcp from any to rl0 port 22 -> 10.0.0.10 port 22 >> > flags S/SA >> > keep state >> > rdr in on ne3 proto tcp from any to rl0 port 6346 -> 10.0.0.10 port 6346 >> > flags S >> > /SA keep state >> > >> > --mat >> > >> > >> > On Fri, 2003-02-28 at 17:03, John Hebert wrote: >> >> On 28 Feb 2003 16:32:38 -0600, Mat Branyon <[EMAIL PROTECTED]> >> >> wrote: >> >> > Installing OpenBSD as firewall/router. Any good tutorials out there? >> >> >> >> http://www.openbsd.org/faq/faq4.html can't be beat. Be sure to read >> >> http://www.openbsd.org/faq/faq6.html for the firewall/routing stuff. >> >> Lemme know if ya hit any snags! I love OpenBSD. >> > >> > >> > _______________________________________________ >> > General mailing list >> > [email protected] >> > http://oxygen.nocdirect.com/mailman/listinfo/general_brlug.net >> > >> >> > > > _______________________________________________ > General mailing list > [email protected] > http://oxygen.nocdirect.com/mailman/listinfo/general_brlug.net -- Scott Harney<[EMAIL PROTECTED]> "...and one script to rule them all."
