Article 52Z23 Traffic from one interface to another (wlp3s0b1 > ppp0) on port 8080 and 5000

Traffic from one interface to another (wlp3s0b1 > ppp0) on port 8080 and 5000

by
zox2005
from LinuxQuestions.org on (#52Z23)
I searched a lot for a solution and found 50 similar questions. I have tried most of them but could not make this work.

In short:

Wireless interface (192.168.0.18) - internet
3G dongle interface (10.222.134.9) - private network

I can access java app (tomcat) via 127.0.0.1:8080 or 192.168.0.18:8080 and it works, but i need requests from java app go thru the 3G dongle (ppp0).

Java app scan / read other devices via port 5000 on same network like ppp0 (IP Addresses 10.222.134.2 - 10.222.134.50)

This all works if I disconnect my wifi network, but when I connect to wifi it all stops working because 192.168.0.18 can't reach devices from IP Addresses 10.222.134.2 - 10.222.134.50latest?d=yIl2AUoC8zA latest?i=Im1wBdL3ydM:XCFBn19TVWE:F7zBnMy latest?i=Im1wBdL3ydM:XCFBn19TVWE:V_sGLiP latest?d=qj6IDK7rITs latest?i=Im1wBdL3ydM:XCFBn19TVWE:gIN9vFwIm1wBdL3ydM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments