Linux Firewall Expert for MASQUERADE

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

hi i am running a asterisk server

and this 2 command for access local device from server

sudo iptables -t nat -A POSTROUTING -o VPN -j MASQUERADE

sudo /sbin/iptables -t nat -A PREROUTING -p tcp -d [login to view URL] --dport 18246 -j DNAT --to-destination [login to view URL]

here is IP [login to view URL]

and if i want to accss local device [login to view URL] just try http on web [login to view URL]

its work for any one

now i want to block for everyone

only allowed ip can access this url [login to view URL] from linux firewall

i try to do this

iptables -A INPUT -p tcp -d [login to view URL] --dport 80 -j ACCEPT

iptables -A INPUT -p tcp --dport 80 -j DROP

and

iptables -I INPUT -p tcp -m tcp -s [login to view URL] --dport 18246 -j ACCEPT

iptables -I INPUT -p tcp -m tcp -s 0.0.0.0/0 --dport 18246 -j DROP

iptables -A OUTPUT -p tcp --destination-port 18246 -j DROP

its not working

if you can fixed it please bid

for final you need to work on team view or anydesk on my linux server

Asterisk PBX Linux Network Administration Red Hat System Admin

Project ID: #19266028

About the project

11 proposals Remote project Active 4 years ago

11 freelancers are bidding on average $33 for this job

talhamq

I have experience in deploying and maintaining of: Cloud Computing Platforms: AWS Amazon Web Services,Microsoft AZURE, Google Cloud (GCP). Server Operating Systems: Windows Server 2003-to-2012R2, Windows Server 20 More

$100 USD in 1 day
(191 Reviews)
6.1
FranMercedesG

Hi, I can help you to setup your Iptables on your server, Im ready to start now, ping me for more details.....

$30 USD in 1 day
(63 Reviews)
5.4
amelantoney

I am able to fix this iptable rule to block access from external, please go through my Linux jobs and customer feedback. Thanks, Amal

$30 USD in 1 day
(48 Reviews)
5.1
serazummunirz

Hey there, After reviewing your project description it's clear that you want someone to create some IPTables rules and setup your servers firewall. I'm very experienced with System Administration, Network Adminis More

$30 USD in 1 day
(28 Reviews)
4.8
apiwatk

you correct iptables step for policy block. My Skill Network: Cisco,HPE,H3C,Juniper,Palo Alto,Mikrotik [ Routing , BGP, OSPF ] Linux : Redhat , CentOS, Debian Windows : 2003,2008,2012,2016,2019 VoIP : (Asteris More

$30 USD in 1 day
(8 Reviews)
3.2
isnandu

Hi. It’s nice to meet you! I'm Matías from Argentina. ***** I deployed +15 iptables-linux firewalls with OpenVPN and in some customers they have Elastix VoIP servers to connect with other branch offices, as you can More

$25 USD in 1 day
(3 Reviews)
1.9
virtualops

Hi, We can help you resolve your firewall configuration. Please contact us to discuss and we can provide the configuration you need. Thanks,

$20 USD in 1 day
(0 Reviews)
0.0
ylias

hello. i m expert on centos. I know the asterisk well and i have lot of experience i think we will work together.

$35 USD in 10 days
(0 Reviews)
0.0
baishev

Hi! I am a linux expert with 15 years of experience. I want to help you. If you want to block for everyone, first you must change default policy rules iptables -P INPUT DROP (default is ACCEPT) be careful. Thi More

$20 USD in 10 days
(0 Reviews)
0.0