Hi all,
I've put RB951 onto my workplace(made some kind of private network inside corporate)
On WAN interface(ether1) i have public IP and all other(ether2-5+wlan1) are in bridge-lan and has 192.168.18.1/24
So my PC, Laptop and Mobile phone have ip addresses from private range.
configuration is simple just static public ip on ether1 and dhcp server on bridge-lan with NAT
Problem is that our corporate firewall detected packets from my private range:
tcpdump output of port-mirror on switch:
16:36:39.629595 vlan 102, p 0, IP 192.168.18.254.49868 > 212.24.43.44.80: R 1:1(0) ack 1 win 0
16:36:39.629599 vlan 102, p 0, IP 192.168.18.254.49829 > 159.148.147.201.80: R 1:1(0) ack 1 win 0
16:36:39.629779 vlan 102, p 0, IP 192.168.18.254.49782 > 86.59.118.148.80: R 1:1(0) ack 1 win 0
which causes log file violation records:
2013-03-29T16:40:51+01:00 rtr-wan-01 list from-OFFICE denied tcp 192.168.18.254(49868)(Ethernet 1/1 d4ca.6d2b.ab6b) -> 212.24.43.44(http), 7 event(s)
2013-03-29T16:40:52+01:00 rtr-wan-01 list from-OFFICE denied tcp 192.168.18.254(49782)(Ethernet 1/1 d4ca.6d2b.ab6b) -> 86.59.118.148(http), 7 event(s)
and so on.
seems like some of the packets are not being masqueraded and they are arriving from ether1 with internal IP address.
Maybe somebody knows how to fix it?
Firstly router had 5.22 and then I've upgraded it to 6rc12 but nothing had changed.
Here you can see compact export of configuration:
# jan/02/1970 03:33:05 by RouterOS 6.0rc12
#
/interface bridge
add l2mtu=1598 name=bridge-lan
/ip pool
add name=dhcp_pool1 ranges=192.168.18.2-192.168.18.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge-lan lease-time=1d name=dhcp1
/interface bridge port
add bridge=bridge-lan interface=ether2
add bridge=bridge-lan interface=wlan1
add bridge=bridge-lan interface=ether3
add bridge=bridge-lan interface=ether4
/ip address
add address=192.168.18.1/24 interface=bridge-lan network=192.168.18.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.18.0/24 gateway=192.168.18.1
/ip settings
set accept-redirects=yes rp-filter=loose
/ip firewall nat
add action=src-nat chain=srcnat comment="default NAT rule" out-interface=ether1-gateway src-address=192.168.18.0/24 to-addresses=x.x.x.x