View Single Post
  #2   (View Single Post)  
Old 20th August 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Problem #1: Your rl0 link (192.168.4/24) is non-operational. No bits flowing = no data routed. You must fix this physical problem before you can use OpenBSD as a router:
Code:
rl0: ...         status: no carrier
Problem #2 may or may not be a problem. But it certainly is confusing:
Code:
# pfctl -sn
nat on rl0 inet from 192.168.100.0/24 to any -> 192.168.4.1
nat on vr0 inet from 192.168.4.0/24 to any -> 192.168.100.15
I do not understand your network configuration: You are using NAT for two distinct RFC 1918 (private, not-on-the-Internet) subnetworks ... NAT should be entirely unnecessary with that type of internal LAN subnet routing. NAT should only be necessary when you need address translation, such as when putting your large internal network onto the Internet through a small number of IP addresses, or even a single IP address.

Next time, please wrap configuration and other information in [code] tags. It will make your messages much more readable. Thank you.
Reply With Quote