Commit c652d688 authored by nimrod's avatar nimrod
Browse files

Router; Route traffic to the Nintendo Switch.

parent 7704b0e0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,4 +27,9 @@ subnet 192.168.3.0 netmask 255.255.255.0
    hardware ethernet C4:41:1E:AA:03:4A;
    fixed-address mr8300.shore.co.il;
  }
  host nintendoswitch
  {
    hardware ethernet 70:f0:88:4c:c4:fe;
    fixed-address NintendoSwitch;
  }
}
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@
192.168.3.12 xbmc.shore.co.il xbmc kodi.shore.co.il kodi
192.168.3.13 mr8300.shore.co.il mr8300
192.168.3.17 host01.shore.co.il host01
192.168.3.20 NintendoSwitch
+4 −0
Original line number Diff line number Diff line
@@ -49,6 +49,10 @@ pass in quick proto tcp to (egress:0) port { smtp, submission, imaps } rdr-to ho
pass out quick proto tcp to host01.shore.co.il port { submission, smtp, imaps } received-on ingress nat-to ingress set prio ( 4, 6 )
pass in quick proto { tcp, udp } to (egress:0) port bittorrent rdr-to kodi.shore.co.il set queue bulk set prio 1

# Nintendo Switch
pass in quick proto tcp to (egress:0) port {6667, 12400, 28910, 29900, 29901, 29920} rdr-to NintendoSwitch
pass in quick proto udp to (egress:0) port 45000:65535 rdr-to NintendoSwitch

# Allowed NAT and proxying
#pass in quick on ingress inet proto tcp to egress:network port www divert-to localhost port wwwproxy
pass in quick on ingress inet proto tcp to port ftp divert-to localhost port ftpproxy
+1 −0
Original line number Diff line number Diff line
@@ -7,3 +7,4 @@ server:
    local-data: "mr8300.shore.co.il.        A   192.168.3.13"
    local-data: "host01.shore.co.il.        A   192.168.3.17"
    local-data: "smtp.shore.co.il.          A   192.168.3.17"
    local-data: "nintendoswitch.            A   192.168.3.20"