Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Changing TTL of packets
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing TTL of packets (Read 3286 times)
marjohn56
Hero Member
Posts: 1701
Karma: 179
Changing TTL of packets
«
on:
January 01, 2020, 04:35:11 pm »
I ( and a few others ) have a need to be able to change the TTL of incoming packets on a specific interface. The reason for this is the Sky Q app. It appears that this app sends out an SSDP packet with a TTL of 1 to discover the existence of a Sky Q receiver on the same network, which is fine providing its on the same network, but if you use VLANs then even if you use something like PIMD to relay those packets across to the other VLAN(s) it will not get there due to the TTL.
Now it appears that you can do this with iptables on Linux but I'm yet to find a solution for FreeBSD, anyone have any ideas?
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Changing TTL of packets
«
Reply #1 on:
January 01, 2020, 04:48:23 pm »
You may be able to solve the issue with a proxy and a quick google search brings up that one:
https://gist.github.com/02strich/5504767
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Changing TTL of packets
«
Reply #2 on:
January 02, 2020, 02:42:42 pm »
I was thinking more along the lines of ng_patch... possible?
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Changing TTL of packets
«
Reply #3 on:
January 03, 2020, 01:36:42 pm »
I've got this working on a VM using my QNAP running Ubuntu and using this Python script
https://github.com/alsmith/multicast-relay
So it's a solution for me..
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Changing TTL of packets