0

I have device, that sends some RAW data (NetFlow v9). I can set only IP adress and PORT of "data collector". For Example 192.168.0.10:8080.

Is it some simple solution at Debian to redirect this to specific php script on common webserver port (:80), for example 192.168.0.10/SaveFromDevice.php? And how i can get sended data to $_GET["data"]?

Thank you

Voju
  • 116
  • 2
  • So basiclly you are asking how to reroute/redirect traffic from `192.168.0.10:8080` to `192.168.0.10:80`? If so you can add a firewall rule believe Debian uses iptables as firewall.. see the manual https://wiki.debian.org/Firewalls-local-port-redirection – Raymond Nijland Aug 04 '18 at 12:47
  • bassicaly, but i need to redirect to 192.168.0.10:80/SaveFromDevice.php , because on index.php, there is another (web) application... – Voju Aug 04 '18 at 12:49

0 Answers0