I am a Mikrotik newbie…
I am trying to achieve the same results as per the title of this thread but on a new RB2011 integrated box.
I have 1:1 NAT working for an Asterisk host. But I also need to deploy an Asterisk host directly on a public IP.
I have bridged my wan port ether1 to a dedicated ethernet port (ether2) and assigned an ip in my useable /29 range from my ISP to the Asterisk host.
My lan is on ether3. (ether4 and ether5 are slaves to ether3)
The host can reach the internet with PING’s to google for instance so it would seem that i have the gateway set up correctly on the host.
Also, I can “ping” or “traceroute -I” to the host from the outside but I cannot get an ssh or http session setup to the host.
Here is some of my config that is probably very important info for debugging…
I have a pppoe static address and gateway and my modem is in bridged modem. Then I have 100.100.100.216/29 given to me by my ISP for what I call my ‘real’ internet usage.
To me it seems that the PPPoE is really just used for authentication because the ISP is a reseller and is forced to use PPPoE for their DSL installations.
ether1 is the wan connection to the DSL bridged modem
pppoe-out1 is the logical wan connection (if “logical” if the correct term?)
ether3-lan-private-master is my lan port (ether 4 and ether 5 are slaves)
ether6 thru ether 10 and the optical interface are disable for now
/ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.1/24 192.168.88.0 ether3-lan-private-master
1 D 200.200.200.70/32 200.20.150.100 pppoe-out1
2 100.100.100.217/29 100.100.100.100.216 ether1-wan
These are just the local lan hosts on ether3:
/ip arp> print
Flags: X - disabled, I - invalid, H - DHCP, D - dynamic, P - published
# ADDRESS MAC-ADDRESS INTERFACE
0 D 192.168.88.239 00:0B:XX:XX:65:6B ether3-lan-private-master
1 D 192.168.88.240 BC:AE:XX:XX:F2:65 ether3-lan-private-master
2 D 192.168.88.241 14:DA:XX:XX:B4:BA ether3-lan-private-master
3 D 192.168.88.248 BC:5F:XX:XX:94:B7 ether3-lan-private-master
4 D 192.168.88.246 3E:D6:XX:XX:93:56 ether3-lan-private-master
5 D 192.168.88.237 C8:A0:XX:XX:D7:9D ether3-lan-private-master
My interface table:
/interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU MAX-L2MTU MAC-ADDRESS
0 RS ether1-wan ether 1500 1598 4074 D4:CA:6D:X7:7X:8A
1 RS ether2-lan-public ether 1500 1598 4074 D4:CA:6D:X7:7X:8B
2 R ether3-lan-private-maste ether 1500 1598 4074 D4:CA:6D:X7:7X:8C
3 S ether4 ether 1500 1598 4074 D4:CA:6D:X7:7X:8D
4 S ether5 ether 1500 1598 4074 D4:CA:6D:X7:7X:8E
5 X ether6-master-local ether 1500 1598 2028 D4:CA:6D:X7:7X:8F
6 XS ether7-slave-local ether 1500 1598 2028 D4:CA:6D:X7:7X:90
7 XS ether8-slave-local ether 1500 1598 2028 D4:CA:6D:X7:7X:91
8 XS ether9-slave-local ether 1500 1598 2028 D4:CA:6D:X7:7X:92
9 XS ether10-slave-local ether 1500 1598 2028 D4:CA:6D:X7:7X:93
10 X sfp1-gateway ether 1500 1598 4074 D4:CA:6D:X7:7X:89
11 X wlan1 wlan 1500 2290 D4:CA:6D:X7:7X:94
12 R bridge-wan bridge 1500 1598 D4:CA:6D:X7:7X:8A
13 R pppoe-out1 pppoe-out 1480
My so called wan bridge:
/interface bridge> print
Flags: X - disabled, R - running
0 R name="bridge-wan" mtu=1500 l2mtu=1598 arp=enabled mac-address=D4:CA:6D:X7:7X:8A protocol-mode=none priority=0x8000 auto-mac=yes
admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s transmit-hold-count=6 ageing-time=5m
My wan bridge port members:
/interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether1-wan bridge-wan 0x80 10 none
1 ether2-lan-public bridge-wan 0x80 10 none
Are the Firewall NAT and FILTER table important?
Here is a portion of the forward chain that I thought was required as per this thread...
add chain=forward comment="Open up bridge port ether-public-lan" connection-state=new in-bridge-port=ether1-wan out-bridge-port=\
ether2-lan-public
add chain=forward comment="Open up bridge port ether-public-lan" connection-state=established in-bridge-port=ether1-wan \
out-bridge-port=ether2-lan-public
add chain=forward comment="Open up bridge port ether-public-lan" connection-state=related in-bridge-port=ether1-wan out-bridge-port
ether2-lan-public
I must be missing something obvious and fundamental. And what is curious is that ICMP is working.
Help would be greatly appreciated.