Solved it by myself, but I should have tought about it earlier.
What I forgot was to NAT the adresses from the 192.168.1.0/24 to the 192.168.2.0/24 adresses.
So what I have done.
- Enabled the IPfilter firewall.
- create the file /etc/ipf/ipnat.conf
- restart ipfilter
HI guys/gals
basic question
lets say i am running a network. lets say i am using Win Me.
how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
I am trying to network two solaris workstations(ultra sparc 5) at home. what shoud I use to build the one of workstations as a http and ftp server and to network with the other workstation?
(please explain to me in detail.. what kind of software or equipment do I need..)
Thanks
John (1 Reply)
Hi,
I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command:
#ifconfig eth0 xx.xx.xx.xx netmask 255.0.0.0
#add route or route add default xxx.xxx.xxx.xxx
In Solaris 10, I believe the commands are... (7 Replies)
hi all,
how do i make sure that the new routing should take effect on the os memory right away? what should i run after i add all the new "route add ....".
I have an example below:
bash-2.03# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface... (1 Reply)
I have just installed Solaris 10 for x86. The install seemed to have worked fine, and I have configured my hostname and am able to login and do whatever. However, networking does not seem to have been installed. I have a router which assigns ip address via DHCP. I would have thought Solaris would... (5 Replies)
Hi all
Right, i need to admit Im c4p on networking. I hate it, always have, always will. Here's my problem
Ive got 3 hosts. A B and C. I need to directly contact host C from host A, but at the moment I have to ssh on to B, to then ssh on to C.
so, I need to set up host b, to forward... (3 Replies)
Hi All,
Actually a very basic question this one. I've got a Solaris 10 x86 server box on a network. There are a group of other servers I need to connect to from it, but via a VPN connection. If I install a vpn client on my solaris box, can I configure the VPN connection so it only routes certain... (1 Reply)
Discussion started by: mikecouk
1 Replies
LEARN ABOUT FREEBSD
tcpdrop
TCPDROP(8) BSD System Manager's Manual TCPDROP(8)NAME
tcpdrop -- drop TCP connections
SYNOPSIS
tcpdrop local-address local-port foreign-address foreign-port
tcpdrop [-l] -a
DESCRIPTION
The tcpdrop command may be used to drop TCP connections from the command line.
If -a is specified then tcpdrop will attempt to drop all active connections. The -l flag may be given to list the tcpdrop invocation to drop
all active connections one at a time.
If -a is not specified then only the connection between the given local address local-address, port local-port, and the foreign address
foreign-address, port foreign-port, will be dropped.
Addresses and ports may be specified by name or numeric value. Both IPv4 and IPv6 address formats are supported.
The addresses and ports may be separated by periods or colons instead of spaces.
EXIT STATUS
The tcpdrop utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
If a connection to httpd(8) is causing congestion on a network link, one can drop the TCP session in charge:
# sockstat -c | grep httpd
www httpd 16525 3 tcp4
192.168.5.41:80 192.168.5.1:26747
The following command will drop the connection:
# tcpdrop 192.168.5.41 80 192.168.5.1 26747
The following command will drop all connections but those to or from port 22, the port used by sshd(8):
# tcpdrop -l -a | grep -vw 22 | sh
SEE ALSO netstat(1), sockstat(1)AUTHORS
Markus Friedl <markus@openbsd.org>
Juli Mallett <jmallett@FreeBSD.org>
BSD January 30, 2013 BSD