Ok, now everything works as spected, just for a mistake.
When I did changes on the /etc/pf.conf, I relaunched the PF
just with:
# pfctl -d
# pfctl -e
I thought that was enougth to make the changes affect pf, but NOT,
I needed to use this instead with my actual config:
# pfctl -d
# pfctl -ef
On May 16, 2008, at 11:39 AM, Jesus Sanchez wrote:
Ok, now everything works as spected, just for a mistake.
It's helpful for others if you explain what your mistake was. Bonus
points for posting your corrected ruleset. Your learning helps others
as well.
When I did changes on the
* Jesus Sanchez [EMAIL PROTECTED] [2008-05-16 17:45]:
Ok, now everything works as spected, just for a mistake.
When I did changes on the /etc/pf.conf, I relaunched the PF
just with:
# pfctl -d
# pfctl -e
I thought that was enougth to make the changes affect pf, but NOT,
of course not.
Hi, I'm using OpenBSD 4.2.
I'm triying to get a very unsafe-simple ruleset to make a nat between a
laptop and my OpenBSD box. From my OpenBSD box I have two nics:
OpenBSD box:
rl0 (witch gets a IP from dhcp and gets to the internet via ADSL)
sk0 (directly connected to the laptop via one cable)
On 14:09:57 May 15, Jesus Sanchez wrote:
nat on $ext_if from $localnetwork to any - (ext_if)
How about changing this line to read
nat on $ext_if from $localnetwork to any - ($ext_if:0)
-Girish
Gregory Edigarov escribis:
Jesus Sanchez wrote:
Hi, I'm using OpenBSD 4.2.
I'm triying to get a very unsafe-simple ruleset to make a nat between a
laptop and my OpenBSD box. From my OpenBSD box I have two nics:
OpenBSD box:
rl0 (witch gets a IP from dhcp and gets to the internet via ADSL)
sk0
On May 15, 2008, at 8:09 AM, Jesus Sanchez wrote:
Hi, I'm using OpenBSD 4.2.
I'm triying to get a very unsafe-simple ruleset to make a nat
between a
laptop and my OpenBSD box. From my OpenBSD box I have two nics:
OpenBSD box:
rl0 (witch gets a IP from dhcp and gets to the internet via ADSL)
Jesus Sanchez wrote:
Gregory Edigarov escribis:
Jesus Sanchez wrote:
Hi, I'm using OpenBSD 4.2.
I'm triying to get a very unsafe-simple ruleset to make a nat between a
laptop and my OpenBSD box. From my OpenBSD box I have two nics:
OpenBSD box:
rl0 (witch gets a IP from dhcp and gets to the
On May 15, 2008, at 9:00 AM, Gregory Edigarov wrote:
are you sure your pf is enabled?
pfctl -e
And make sure you've actually run sysctl -w
net.inet.ip.forwarding=1, not just edited the sysctl.conf file.
---
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net
Have you added your openbsd box internal ip in you laptops /etc/mygate and
thus have an default route set?
10 matches
Mail list logo