---
name: "Fwctl::Services::tcp_service"
section: "3pm"
platform: "linux"
package: "fwctl"
version: "0.28-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/Fwctl::Services::tcp_service"
---

# Fwctl::Services::tcp\_service(3pm)

Fwctl module to handle simple TCP client/server communication.

## NAME

Fwctl::Services::tcp\_service - Fwctl module to handle simple TCP client/server communication.

## SYNOPSIS

```
    accept   tcp_service -src INTERNAL_NET -dst DATABASE_SERVER -port postgres
    # Same as
    accept   postgres -src INTERNAL_NET -dst DATABASE_SERVER
    account tcp_service -src INTERNET -port telnet
    # Same as
    account telnet  -src INTERNET
```

## DESCRIPTION

This Fwctl module is used to handle single connection TCP client/server. It takes as options *port* and *local\_port* which are used to set the destination and source port of the connection.

This is the module used to auto generate TCP service.

## AUTHOR

Francis J. Lacoste \<francis.lacoste@iNsu.COM\>

## COPYRIGHT

Copyright (c) 1999,2000 iNsu Innovations Inc. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

## SEE ALSO

*fwctl*(8) *Fwctl*(3) *Fwctl::RuleSet*(3)
