summaryrefslogtreecommitdiff
path: root/docs/fapi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/fapi.txt')
-rw-r--r--docs/fapi.txt33
1 files changed, 18 insertions, 15 deletions
diff --git a/docs/fapi.txt b/docs/fapi.txt
index 698a0cb..67fe651 100644
--- a/docs/fapi.txt
+++ b/docs/fapi.txt
@@ -95,22 +95,12 @@ EXAMPLES
Setting up a simple nPath Service
A simple nPath service can be created as follows.
- # Create a nPath HTTP vserver, 'nPath' also auto disables NAT and PAT
- # fapi auto resolves the IP address.
fapi vserver myvserver.example.com:80 create PROTOCOL_TCP nPath
-
- # Add the pool to the vserver. The vservers name inside of BigIP will be
- # the FQDN followed by _PORT. In this case it would be:
- # myvserver.example.com_80 (or full: /Partition/myvserver.example.com_80)
- # The reason is that : are not allowed in vserver names.
fapi vserver myvserver.example.com:80 set pool foopool
- # Add a nPath HTTPS vserver
- fapi vserver myvserver.example.com:443 create PROTOCOL_TCP nPath
- fapi vserver myvserver.example.com:443 set pool foopool
-
- # Restrict the vserver to a specific VLAN (IMPORTANT! security
+ # Restrict the vservers to a specific VLAN (IMPORTANT! security
# hole otherwise!)
+ fapi vserver myvserver.example.com:80 set vlan VLANNAME
fapi vserver myvserver.example.com:443 set vlan VLANNAME
# Put the VirtualAddress of the vserver into a specific traffic group
@@ -128,11 +118,24 @@ EXAMPLES
fapi node fooserver1.example.com delete
fapi node fooserver2.example.com delete
- Setting up simple NAT Services
- (Docu to be written)
+ Setting up simple HTTP NAT Services
+ A simple HTTP NATed service can be created as follows.
+
+ fapi vserver myvserver.example.com:80 create PROTOCOL_TCP /Common/http
+ fapi vserver myvserver.example.com:80 set vlan VLANNAME
+ fapi vserver myvserver.example.com:80 set pool foopool
+
+ In order to make this work your application servers need to have setup a
+ default route to the loadbalancers floating self IP.
Setting up simple SNAT Services
- (Docu to be written)
+ Same as setting up a NATed services, but you don't need to configure
+ default routes from your application servers to the loadbalancers
+ floating self IP.
+
+ You need also to set the SNAT flag as follows:
+
+ fapi vserver myvserver.example.com:80 set snat automap
About the NAME argument
In most cases NAME can be a hostname, FQDN or an IP address. Optionally