Hi,
In Rooted device if I want to use local port ( < 1024 ) like 53 , 80 etc.
It is failing saying Permission denied . Local port bind failed.
Is there any way to run it as SU and overcome this problem. or any help on it is appreciated.
Thank you
Bind Local port below 1024 in Rooted device
-
- OpenVPN User
- Posts: 31
- Joined: Sat Oct 05, 2013 9:24 pm
-
- OpenVPN User
- Posts: 31
- Joined: Sat Oct 05, 2013 9:24 pm
Re: Bind Local port below 1024 in Rooted device
Sorry. Not to mention clearly in last post.
I am using client android 4.0.4 . Server is in centos6.4 Linux box.
In android client I need to bind LOCAL port like 53 and the device is rooted.
You mean I should search for - How to disable that security feature in Android phone?
Thanks
I am using client android 4.0.4 . Server is in centos6.4 Linux box.
In android client I need to bind LOCAL port like 53 and the device is rooted.
You mean I should search for - How to disable that security feature in Android phone?
Thanks
-
- OpenVPN User
- Posts: 31
- Joined: Sat Oct 05, 2013 9:24 pm
Re: Bind Local port below 1024 in Rooted device
Ok.
I mean i need to bind lower (<1024 ) port in Android Client. It is required to bypass firewall. For example
LPORT = 80 RPORT=53 can bypass firewall depending on the firewall nature.
Server is running on port 53.
Packet destination port = 53
packet source port = 80
All UDP packets leaving android Phone need to have sport = 80 , dport = 53
How can I disable this feature in Linux OR how do I run openvpn client (with vpnservice api) as Superuser in rooted device.
any help is appreciated.
Thank you
I mean i need to bind lower (<1024 ) port in Android Client. It is required to bypass firewall. For example
LPORT = 80 RPORT=53 can bypass firewall depending on the firewall nature.
Server is running on port 53.
Packet destination port = 53
packet source port = 80
All UDP packets leaving android Phone need to have sport = 80 , dport = 53
How can I disable this feature in Linux OR how do I run openvpn client (with vpnservice api) as Superuser in rooted device.
any help is appreciated.
Thank you