01-01-2011
My router has UPnP, as do its work with ubuntu to automatically open ports
My router has UPnP,how to make it work with ubuntu to automatically open ports
I try to open the following command " /sbin/iptables -I INPUT -d 0/0 -s 0/0 -p tcp --dport 21 -j ACCEPT" ,local only opens ,if i put the ip 192.168.1.68, it works correctly, if i`m put my external ip does not work,I have to go in the router every time and opens ports.
My question is, how to make ubuntu automatically open ports
My router is thomson tg585v7
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am trying to write a script to automatically use a predefined program to open a file according to its extension... But I don't know how to pass "programeta" ... :confused:
while ]; do
case $1 in
-pdf ) programeta="kpdf"
shift 1 ;;
... (1 Reply)
Discussion started by: pau
1 Replies
2. Shell Programming and Scripting
Good day,
I'm new to linux environment...Is there any scripts available for me to check ports (lets say port 80 and 21) through shell with just a single commandline?
Any response is very much appreciated..
thanks (4 Replies)
Discussion started by: arsonist
4 Replies
3. UNIX for Dummies Questions & Answers
Hello I am new to Ubuntu and I have a quick question about router settings. When I connect directly to my cable Internet ubuntu works fine. But when I connect it to my router I can't get connectivity. I am using ubuntu 9.04 and am using D-link DI-604 router. I have reset both my router and modem... (0 Replies)
Discussion started by: jae99
0 Replies
4. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
5. IP Networking
Hello I am having some issues doing to routing I have 4 network cards and one is connected to a linksys router with everything turned off to give us a static ip to use for the gateway out to the internet.
Hear is what we have
We have
eth2 with ip address of 192.168.1.2 / sub 255.255.255.0... (0 Replies)
Discussion started by: psutliff-una
0 Replies
6. Red Hat
hi,
I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout
I does not know how to add my... (0 Replies)
Discussion started by: mypass
0 Replies
7. IP Networking
Hi,
I have two Cent OS Linux systems and one Ubuntu OS system contains two Ethernet Cards.
I need to create two networks by using Ubuntu sys as router. One network need to configure in IPv4 addresses and another network should configure in IPv6 addresses. Please help me how to configure two... (0 Replies)
Discussion started by: hanuma614
0 Replies
8. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
9. UNIX for Beginners Questions & Answers
Hi Friends,
Every I try to open a vi window vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (1 Reply)
Discussion started by: sudiptabhaskar
1 Replies
10. Shell Programming and Scripting
Hi Friends,
Every I try to open a vi window, vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (3 Replies)
Discussion started by: sudiptabhaskar
3 Replies
LEARN ABOUT DEBIAN
xorpsh
xorp(1) General Commands Manual xorp(1)
NAME
xorpsh -- XORP Command Shell
SYNOPSIS
xorpsh [-c command] [-t directory] [-e] [-h] [-v]
DESCRIPTION
This manual page documents briefly the xorpsh command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
xorpsh is the command used to interact with a eXtensible Open Router Platform (XORP) router. This command starts up a command line inter-
face (CLI), that allows the configuration of the router and monitoring of the router state.
The xorpsh command provides an interactive command shell to a XORP user, similar in many ways to the role played by a Unix shell. In a
production router xorpsh might be set up as an user's login shell - they would login to the router via ssh and be directly in the xorpsh.
It can also be run directly from the Unix command line.
xorpsh should normally be run as a regular user; it is neither necessary or desirable to run it as root. If an user is to be permitted to
make changes to the running router configuration, that user needs to be in the Unix group xorp.
The Debian package installation automatically sets up both a xorp user and a xorp group to which this user belongs. However, any user can
run the xorpsh command unless locally restricted by the administrator.
OPTIONS
xorpsh allows the following options:
-h Show summary of options.
-v Print verbose information.
-c command
Specify command(s) to execute.
-t directory
Specify templates directory.
-e Exit immediately if cannot connect to the rtrmgr
SEE ALSO
xorp_rtrmgr (8)
This program is documented fully in the Xorp User Manual, chapter Command Structure, available at /usr/share/doc/xorp-doc/ in Debian sys-
tems when the xorp-doc package is installed.
AUTHOR
XORP is Copyright (c) 2001-2009 XORP, Inc.
This manual page was written by Javier Fernandez-Sanguino jfs@debian.org for the Debian system (but may be used by others). For licensing
details please see /usr/share/doc/xorp/copyright.
xorp(1)