Hi,
Ik heb sinds een week een Mikrotik rb750gr3-hex draaien thuis tvv de Zyxel router van Odido.
Wilde graag hier mee aan de slag gaan en instellen was niet heel moeilijk met behulp van deze config:
https://github.com/Eigenr...Mikrotik-Internet-only.md
Nu wil ik graag ook weer een aantal porten forwarden tbv mijn gameservertje voor Sons of the forest en Valheim.
Voor Valheim moet je TCP/UDP 2456-2458 openzetten en voor SOTF UDP 8766, 27016, 9700.
Na wat googlen heb ik de nat regels en filters ingesteld:
/ip firewall nat
add chain=dstnat protocol=udp dst-port=2456-2458 action=dst-nat to-addresses=x.x.x.x to-ports=2456-2458
add chain=dstnat protocol=udp dst-port=8766 action=dst-nat to-addresses=x.x.x.x to-ports=8766
add chain=dstnat protocol=udp dst-port=27016 action=dst-nat to-addresses=x.x.x.x to-ports=27016
add chain=dstnat protocol=udp dst-port=9700 action=dst-nat to-addresses=x.x.x.x to-ports=9700
/ip firewall filter
add action=accept chain=forward protocol=udp dst-port=2456-2458 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=8766 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=27016 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=9700 dst-address=x.x.x.x
Helaas kom ik extern maar niet bij de server en bij de testtool van SOTF geeft deze ook aan dat de poorten dicht staan. Heb de firewall bij de gameserver al keer uit gezet en server herstart.
Kan het zijn dat ODIDO voor eigen routers zaken standaard dichtzet of is dit onzin?
Hierbij mijn config
Bij de Zyxel werkt dit prima, port forwarding instellen en ze waren bereikbaar.
Wat mis ik hier?
Ik heb sinds een week een Mikrotik rb750gr3-hex draaien thuis tvv de Zyxel router van Odido.
Wilde graag hier mee aan de slag gaan en instellen was niet heel moeilijk met behulp van deze config:
https://github.com/Eigenr...Mikrotik-Internet-only.md
Nu wil ik graag ook weer een aantal porten forwarden tbv mijn gameservertje voor Sons of the forest en Valheim.
Voor Valheim moet je TCP/UDP 2456-2458 openzetten en voor SOTF UDP 8766, 27016, 9700.
Na wat googlen heb ik de nat regels en filters ingesteld:
/ip firewall nat
add chain=dstnat protocol=udp dst-port=2456-2458 action=dst-nat to-addresses=x.x.x.x to-ports=2456-2458
add chain=dstnat protocol=udp dst-port=8766 action=dst-nat to-addresses=x.x.x.x to-ports=8766
add chain=dstnat protocol=udp dst-port=27016 action=dst-nat to-addresses=x.x.x.x to-ports=27016
add chain=dstnat protocol=udp dst-port=9700 action=dst-nat to-addresses=x.x.x.x to-ports=9700
/ip firewall filter
add action=accept chain=forward protocol=udp dst-port=2456-2458 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=8766 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=27016 dst-address=x.x.x.x
add action=accept chain=forward protocol=udp dst-port=9700 dst-address=x.x.x.x
Helaas kom ik extern maar niet bij de server en bij de testtool van SOTF geeft deze ook aan dat de poorten dicht staan. Heb de firewall bij de gameserver al keer uit gezet en server herstart.
Kan het zijn dat ODIDO voor eigen routers zaken standaard dichtzet of is dit onzin?
Hierbij mijn config
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| /interface bridge add arp=proxy-arp name=local /interface vlan add interface=ether1 name=vlan1.300 vlan-id=300 /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip pool add name=homenetwork ranges=x.x.x.x-x.x.x.x /ip dhcp-server add address-pool=homenetwork disabled=no interface=local lease-time=8h name=dhcp-home /interface bridge port add bridge=local interface=ether2 /ip neighbor discovery-settings set discover-interface-list=!dynamic /ip address add address=x.x.x.x/24 interface=local network=x.x.x.x0 /ip dhcp-client add disabled=no interface=vlan1.300 use-peer-dns=no use-peer-ntp=no /ip dhcp-server network add address=x.x.x.x/24 dns-server=x.x.x.x domain=home.local gateway=x.x.x.x /ip dns set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4 /ip firewall filter add action=accept chain=input in-interface=vlan1.300 protocol=icmp add action=accept chain=input connection-state=established,related add action=drop chain=input in-interface=vlan1.300 add action=accept chain=forward dst-address=x.x.x.x dst-port=2456-2458 protocol=tcp add action=accept chain=forward dst-address=x.x.x.x dst-port=2456-2458 protocol=udp add action=accept chain=forward dst-address=x.x.x.x dst-port=2456-2458 protocol=udp add action=accept chain=forward dst-address=x.x.x.x dst-port=8766 protocol=udp add action=accept chain=forward dst-address=x.x.x.x dst-port=27016 protocol=udp add action=accept chain=forward dst-address=x.x.x.x dst-port=9700 protocol=udp /ip firewall nat add action=masquerade chain=srcnat out-interface=vlan1.300 add action=dst-nat chain=dstnat dst-port=2456-2458 protocol=tcp to-addresses=x.x.x.x to-ports=2456-2458 add action=dst-nat chain=dstnat dst-port=2456-2458 protocol=udp to-addresses=x.x.x.x to-ports=2456-2458 add action=dst-nat chain=dstnat dst-port=2456-2458 protocol=udp to-addresses=x.x.x.x to-ports=2456-2458 add action=dst-nat chain=dstnat dst-port=8766 protocol=udp to-addresses=x.x.x.x to-ports=8766 add action=dst-nat chain=dstnat dst-port=27016 protocol=udp to-addresses=x.x.x.x to-ports=27016 add action=dst-nat chain=dstnat dst-port=9700 protocol=udp to-addresses=x.x.x.x to-ports=9700 /system clock set time-zone-name=Europe/Amsterdam /system identity |
Bij de Zyxel werkt dit prima, port forwarding instellen en ze waren bereikbaar.
Wat mis ik hier?