?
Solved

access to a pc from the outside

Posted on 2007-10-17
9
Medium Priority
?
273 Views
Last Modified: 2010-04-09
hi all

I have a Cisco ADSL router and i have to give access to one computer.

Person who will be connecting has a fix ip address x.x.x.x and will be connecting to 192.168.16.24. he needs access using the following ports 1434UDP and 1433TCP

What lines do i have to put to achive it.

ps. could you please tell me all the lines from the begining to the end as im not very good with cisco.

Thanks
0
Comment
Question by:aucklandnz
  • 5
  • 4
9 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 20099217
YOu need to port forward those ports
heres a full walkthorugh on my site
http://www.petenetlive.com/Tech/Firewalls/Cisco/portforward.htm
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 20099225
so if the pc you wanted this person to connect to a PC that had an ip address of 10.254.254.1

for instructions on connecting to the firewall see my site here
http://www.petenetlive.com/Tech/Firewalls/Cisco/connect2.htm

heres all the commands you need from beginning to end...


-----------------------------log in via telnet or htperterminal---------------------------
Warning Notice

User Access Verification

Password:
Type help or '?' for a list of available commands.
firewall>
firewall> enable
Password: ********
firewall#
firewall# configure terminal
firewall(config)#
firewall(config)#access-list inbound permit udp any interface outside eq 1434
firewall(config)#access-list inbound permit tcp any interface outside eq 1433
firewall(config)#
firewall(config)#access-group inbound in interface outside
firewall(config)#
firewall(config)#static (inside,outside) udp interface 1434 10.254.254.1 1334 netmask 255.255.255.255
firewall(config)#static (inside,outside) tcp interface 1433 10.254.254.1 1433 netmask 255.255.255.255
firewall(config)#
firewall(config)# write memory
Building configuration...
Cryptochecksum: aab5e5a2 c707770d f7350728 d9ac34de
[OK]
firewall(config)#



job done
0
 
LVL 3

Author Comment

by:aucklandnz
ID: 20104260
hi
thanks for the reply

when i put the first line im getting this

mycisco(config)#access-list inbound permit udp any interface outside eq 1434
                                               ^
% Invalid input detected at '^' marker.

i put the command straig after config t
0
Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

 
LVL 57

Expert Comment

by:Pete Long
ID: 20110672
of bugger sorry its a router - you confused me by posting in the PIX TA :)

read throught this
http://www.portforward.com/english/routers/port_forwarding/Cisco/Cisco800Series/default.htm
0
 
LVL 3

Author Comment

by:aucklandnz
ID: 20126420
i opend the link but im confused where to put the external IP that the person will be connecting from

Thnkas
0
 
LVL 3

Author Comment

by:aucklandnz
ID: 20145341
any idea ?
0
 
LVL 3

Author Comment

by:aucklandnz
ID: 20212995
still cant resolve the problem? any ideas ?

thanks
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 1500 total points
ID: 20214452
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 22948034
ThanQ
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
Considering cloud tradeoffs and determining the right mix for your organization.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Suggested Courses
Course of the Month16 days, 7 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question