How The client (iPhone) connect tò a 3proxy on a server running on separate network

vittorianicolosi1994

Regular Member
Joined
Jan 17, 2024
Messages
279
Reaction score
81
My setup Is

PC running a Linux Ubuntu Os

the PC Is connected with a usb hub with 4g sim dongles (2)

With 3proxy i manage to create 2x (4g mobile proxy ) using sim and 4g data .

I have a Opensource router connected tò the Linux PC.

The client (2 iPhones) are connected via USB- ethernet cable tò the OS router

How The client(iPhone) connect tò a different proxy on the server ?


Do i Need iptable?
Nat routing ?
 
2 options

1. If your home isp allows inbound connections, then forward ports on the home LAN router, from external IP to the LAN ip of the PC.

2. If your home ISP doesn't allow inbound connections, use a VPS and configure back tunnel, so proxy ports are forwarded from the VPS ip to the PC. Use "ssh -R" for that.
 
2 options

1. If your home isp allows inbound connections, then forward ports on the home LAN router, from external IP to the LAN ip of the PC.

2. If your home ISP doesn't allow inbound connections, use a VPS and configure back tunnel, so proxy ports are forwarded from the VPS ip to the PC. Use "ssh -R" for that.
I apologize for any confusion caused by my poorly written post. As I am still learning English, I appreciate your understanding and effort in deciphering my message. Thank you for your patience...

I dont Need to able to port forward my ports beacuse i dont use my proxies remotely, i want use proxy in my LAN only. All device are in same LAN network

So if i want connect a device using ethernet cable tò the Linux PC the solution could be more Easy , something like this :

create a new 'ethernet' adapter in NetworkManaget, set IPv4 to "share IP for other systems" or similar.
And select as 'ethernet' device your 4G-Dongle.

Apply -> Reconnect LAN from Lap/PC - DHCP should take in action and all connected LAN devices should get an IP from your Ubuntu machine.

Is right ?
 
Last edited:
If they ( Linux PC with proxies and Iphones) are in the same subnet , then there is nothing to do.
If they are in different subnets, configure your router so it routes packets between them (Linux PC with proxies and Iphones).
In short make possible that they can ping each other.
 
If they ( Linux PC with proxies and Iphones) are in the same subnet , then there is nothing to do.
If they are in different subnets, configure your router so it routes packets between them (Linux PC with proxies and Iphones).
In short make possible that they can ping each other.
Thanks
 
Back
Top