close

Privacy guaranteed - Your email is not shared with anyone.

My network diagrams

Discussion in 'Tech Talk' started by sandboy6184, Oct 22, 2004.


  1. sandboy6184

    sandboy6184
    Expand Collapse

    Joined:
    Feb 25, 2004
    33
    0
    Just got this up recently :)

    With Gimp
    [​IMG]

    And now with Dia
    [​IMG]

    extra:
    Code:
    dhcpd.conf
    
    shared-network LOCAL-NET {
            
            option  domain-name-servers 68.54.80.5, 68.54.80.6; 
    
            subnet 192.168.1.0 netmask 255.255.255.0 {
                    option routers 192.168.1.1;
    
                    range 192.168.1.10 192.168.1.20;
            }
    }
    
    
    
    pf.conf
    
    # define some macros to make writing the rule set easier 
    ext_if="rl0"
    int_if="fxp0"
    web_server = "192.168.1.11"
    
    # Protocol settings
    tcp_options = "flags S/SAFRUP keep state"
    udp_options = "keep state"
    icmp_options = "keep state"
    
    # Common settings
    set block-policy drop
    
    # nat rule
    nat on $ext_if from $int_if:network to any -> ($ext_if)
    rdr on $ext_if proto tcp from any to any port 80 -> $web_server port 80
    
    # default policy
    block log all
    
    # pass firewall rules
    pass quick on lo0 all
     
    dhcpd.conf
    
    shared-network LOCAL-NET {
            
            option  domain-name-servers 68.54.80.5, 68.54.80.6; 
    
            subnet 192.168.1.0 netmask 255.255.255.0 {
                    option routers 192.168.1.1;
    
                    range 192.168.1.10 192.168.1.20;
            }
    }
    
    
    
    pf.conf
    
    # define some macros to make writing the rule set easier 
    ext_if="rl0"
    int_if="fxp0"
    web_server = "192.168.1.11"
    
    # Protocol settings
    tcp_options = "flags S/SAFRUP keep state"
    udp_options = "keep state"
    icmp_options = "keep state"
    
    # Common settings
    set block-policy drop
    
    # nat rule
    nat on $ext_if from $int_if:network to any -> ($ext_if)
    rdr on $ext_if proto tcp from any to any port 80 -> $web_server port 80
    
    # default policy
    block log all
    
    # pass firewall rules
    pass quick on lo0 all
    
     
  2. sandboy6184

    sandboy6184
    Expand Collapse

    Joined:
    Feb 25, 2004
    33
    0
Loading...
Similar Threads Forum Date
Wireless network for my TV Tech Talk Jul 21, 2011
How do I change my network name? Tech Talk Dec 14, 2008
Help from network guys please - can’t change my router Tech Talk Jan 11, 2006
My wireless network is down Tech Talk Oct 29, 2005
Why can't I connect to my home network? Tech Talk Feb 1, 2005
Duty Gear at CopsPlus