All pastes #2120024 Raw Edit

Untitled

public text v1 · immutable
#2120024 ·published 2012-02-19 19:54 UTC
rendered paste body
[/etc/rc.conf]
defaultrouter="172.20.10.17"
hostname="test-ops.tst"
ifconfig_dc0="inet 172.20.10.20  netmask 255.255.255.0"
sshd_enable="YES"

ifconfig_em0="inet 10.49.21.73  netmask 255.255.255.0"
ifconfig_em0_alias0="10.49.21.71 netmask 255.255.255.0"
ifconfig_em0_alias1="10.49.21.72 netmask 255.255.255.0"

gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="em0"
natd_flags="-f /etc/natd.conf"

ifconfig_em1="inet 134.35.31.254  netmask 255.255.255.0"

[/etc/natd.conf]
log yes
redirect_port tcp 134.35.31.11:443 10.49.21.71:443
log_ipfw_denied yes

[ipfw list]
00100 allow ip from any to any via lo0
00150 allow ip from any to any
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 deny ip from any to ::1
00500 deny ip from ::1 to any
00600 allow ipv6-icmp from :: to ff02::/16
00700 allow ipv6-icmp from fe80::/10 to fe80::/10
00800 allow ipv6-icmp from fe80::/10 to ff02::/16
00900 allow ipv6-icmp from any to any ip6 icmp6types 1
01000 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136
65535 deny ip from any to any